Parent

Methods

Files

Class/Module Index [+]

Quicksearch

Rails::Generators::GeneratedAttribute

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.