Sha256: cc1e6de7aa9079eb0583f6cb72fa392677a090761a059f6c2b0024ecc34ef66f

Contents?: true

Size: 295 Bytes

Versions: 6

Compression:

Stored size: 295 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

6 entries across 6 versions & 2 rubygems

Version Path
angularjs_scaffold-0.0.24 lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb
angularjs_scaffold-0.0.23 lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb
angularjs_scaffold-0.0.22 lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb
explainer_angularjs_scaffold-0.0.23 lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb
explainer_angularjs_scaffold-0.0.22 lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb
explainer_angularjs_scaffold-0.0.21 lib/angularjs_scaffold/angularjs_scaffold/angularjs_scaffold_generator.rb