Method: Origami::StandardObject::ClassMethods#hint_type

Defined in:
lib/origami/object.rb

#hint_type(name) ⇒ Object

Returns the expected type for a field name.



216
217
218
# File 'lib/origami/object.rb', line 216

def hint_type(name)
    @fields[name][:Type] if @fields.key?(name)
end