class TLAW::Param::ClassType
@private
Public Instance Methods
_convert(value)
click to toggle source
# File lib/tlaw/param/type.rb, line 57 def _convert(value) value end
to_doc_type()
click to toggle source
# File lib/tlaw/param/type.rb, line 61 def to_doc_type type.name end
validate(value)
click to toggle source
# File lib/tlaw/param/type.rb, line 52 def validate(value) value.is_a?(type) or nonconvertible!(value, "not an instance of #{type}") end