class Rails::Generators::GeneratedAttribute

@private

Public Instance Methods

input_type() click to toggle source
# File lib/generators/rspec.rb, line 47
def input_type
  @input_type ||= if type == :text
                    "textarea"
                  else
                    "input"
                  end
end