Fix example codes for generators guide [ci skip]

This commit is contained in:
Yoshiyuki Hirano 2017-08-11 14:38:13 +09:00
parent 3645263237
commit 79477417bf

@ -627,7 +627,7 @@ This method also takes a block:
```ruby
lib "super_special.rb" do
puts "Super special!"
"puts 'Super special!'"
end
```
@ -636,7 +636,7 @@ end
Creates a Rake file in the `lib/tasks` directory of the application.
```ruby
rakefile "test.rake", "hello there"
rakefile "test.rake", 'task(:hello) { puts "Hello, there" }'
```
This method also takes a block: