Class: Potter::Types::Integer
Instance Attribute Summary
Attributes inherited from Type
Instance Method Summary collapse
Methods inherited from Type
#from, #generate, #initialize, #klass, #name, #new, #to_sym
Methods included from OptionHelpers
#assign_option!, #assign_options!
Constructor Details
This class inherits a constructor from Potter::Types::Type
Instance Method Details
#parse(o) ⇒ Object
61 |
# File 'lib/potter/types.rb', line 61 def parse(o) = o.to_i |