Class: Yeqs::SexybuttonsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Yeqs::SexybuttonsGenerator
- Defined in:
- lib/generators/yeqs/sexybuttons_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
3 4 5 |
# File 'lib/generators/yeqs/sexybuttons_generator.rb', line 3 def self.source_root @source_root ||= File.(File.join(File.dirname(__FILE__), '/../../../public')) end |
Instance Method Details
#install ⇒ Object
7 8 9 |
# File 'lib/generators/yeqs/sexybuttons_generator.rb', line 7 def install directory 'components', 'public/components' end |