Class: TypedFields::TypeInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/typed_fields.rb

Instance Attribute Summary collapse

Instance Attribute Details

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



60
61
62
# File 'lib/typed_fields.rb', line 60

def default
  @default
end

#field_nameObject

Returns the value of attribute field_name

Returns:

  • (Object)

    the current value of field_name



60
61
62
# File 'lib/typed_fields.rb', line 60

def field_name
  @field_name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



60
61
62
# File 'lib/typed_fields.rb', line 60

def type
  @type
end