Class: Suspenders::LintGenerator
- Inherits:
-
Generators::Base
- Object
- Rails::Generators::Base
- Generators::Base
- Suspenders::LintGenerator
- Defined in:
- lib/suspenders/generators/lint_generator.rb
Instance Method Summary collapse
Methods inherited from Generators::Base
default_source_root, inherited
Methods included from ExitOnFailure
Methods included from Actions
#action_mailer_asset_host, #action_mailer_host, #configure_environment, #expand_json, #gem, #replace_in_file
Instance Method Details
#set_up_hound ⇒ Object
5 6 7 |
# File 'lib/suspenders/generators/lint_generator.rb', line 5 def set_up_hound copy_file "hound.yml", ".hound.yml" end |
#set_up_standard ⇒ Object
9 10 11 12 |
# File 'lib/suspenders/generators/lint_generator.rb', line 9 def set_up_standard gem "standard", group: :development prepend_to_file("Rakefile", 'require "standard/rake"') end |