Class: Rails::Generators::GeneratedAttribute Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | rspec-rails/lib/generators/rspec.rb |
Instance Method Summary
- #input_type Internal use only
Instance Method Details
#input_type
[ GitHub ]# File 'rspec-rails/lib/generators/rspec.rb', line 47
def input_type @input_type ||= if type == :text "textarea" else "input" end end