Class: RailsAppGenerator::BaseMapOption
- Inherits:
-
Object
- Object
- RailsAppGenerator::BaseMapOption
- Defined in:
- lib/rails_app_generator/options/base_map_option.rb
Overview
Simple pass through mapper for options that do not yet have a mapper defined
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#option_name(name) ⇒ Object
6 7 8 |
# File 'lib/rails_app_generator/options/base_map_option.rb', line 6 def option_name(name) "--#{name.to_s.gsub('_', '-')}" end |