class Rails::Generators::GeneratedAttribute
Public Instance Methods
input_type()
click to toggle source
# File lib/generators/rspec.rb, line 22 def input_type @input_type ||= if type == :text "textarea" else "input" end end