Class: Eastrails::Components::Cancan
- Defined in:
- lib/eastrails/components/cancan.rb
Instance Method Summary collapse
Methods inherited from Base
#component_installed?, #dir_html_to_haml, #do_if_installed, #file_html_to_haml, #gems, #html_to_haml, #parse_gemfile
Methods inherited from Generator
Constructor Details
This class inherits a constructor from Eastrails::Generator
Instance Method Details
#add ⇒ Object
4 5 6 7 8 |
# File 'lib/eastrails/components/cancan.rb', line 4 def add gem "cancan" system "bundle install" generate "cancan:ability" end |