1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

View file

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