Browse files

Use Ruby 1.9 syntax

  • Loading branch information...
1 parent 2901346 commit e208ad925a5e3321bc0052cbd7ef0b29de136164 @rafaelfranca rafaelfranca committed with carlosantoniodasilva May 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb
View
4 railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb
@@ -8,8 +8,8 @@ class ScaffoldGenerator < ResourceGenerator # :nodoc:
class_option :stylesheets, type: :boolean, desc: "Generate Stylesheets"
class_option :stylesheet_engine, desc: "Engine for Stylesheets"
- class_option :assets, :type => :boolean
- class_option :resource_route, :type => :boolean
+ class_option :assets, type: :boolean
+ class_option :resource_route, type: :boolean
def handle_skip
@options = @options.merge(stylesheets: false) unless options[:assets]

0 comments on commit e208ad9

Please sign in to comment.