Sha256: 50544f173fa524688622b197236e55138c8110585d313fceb51f74e05481ae6f

Contents?: true

Size: 301 Bytes

Versions: 4

Compression:

Stored size: 301 Bytes

Contents

class AngularjsScaffoldGenerator < Rails::Generators::NamedBase
  source_root File.expand_path('../templates', __FILE__)
  argument :file_name, :type => :string, :default => "angularjs_scaffold"
  def init_angularjs
    copy_file "stylesheet.css", "app/assets/stylesheets/#{file_name}.css"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
angularjs_scaffold-0.0.19 lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb
angularjs_scaffold-0.0.18 lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb
angularjs_scaffold-0.0.17 lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb
angularjs_scaffold-0.0.16 lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb