Class: Rails::Generators::GeneratedAttribute
- Inherits:
-
Object
- Object
- Rails::Generators::GeneratedAttribute
- Defined in:
- lib/generators/rspec.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#input_type ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/generators/rspec.rb', line 16 def input_type @input_type ||= if type == :text "textarea" else "input" end end |