Class: Smartdown::Model::Answer::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/smartdown/model/answer/text.rb

Instance Attribute Summary

Attributes inherited from Base

#error, #question, #value

Instance Method Summary collapse

Methods inherited from Base

#*, #+, #-, #/, #<=>, #initialize, #invalid?, #valid?

Constructor Details

This class inherits a constructor from Smartdown::Model::Answer::Base

Instance Method Details

#humanizeObject



11
12
13
# File 'lib/smartdown/model/answer/text.rb', line 11

def humanize
  value
end

#value_typeObject



7
8
9
# File 'lib/smartdown/model/answer/text.rb', line 7

def value_type
  ::String
end