Method: Flashee::Generators::Install::FoundationGenerator#create_helper
- Defined in:
- lib/generators/flashee/install/foundation_generator.rb
#create_helper ⇒ Object
Creates foundation mode helper.
9 10 11 12 13 14 |
# File 'lib/generators/flashee/install/foundation_generator.rb', line 9 def create_helper @helper_file = Builders.helper_builder "foundation" helper_target_path = File.join(Rails.root, "app", "helpers", "flashee_helper.rb") Builders.file_builder helper_target_path, @helper_file end |