Class: NoSE::Fields::HashField

Inherits:
Field show all
Defined in:
lib/nose/model/fields.rb

Overview

Field representing a hash of multiple values

Constant Summary

Constants inherited from Field

Field::TYPE

Instance Attribute Summary

Attributes inherited from Field

#name, #parent, #primary_key, #size

Instance Method Summary collapse

Methods inherited from Field

#*, #==, #cardinality, #hash, #id, #random_value, #to_color, #to_s, value_from_string

Methods included from Supertype

included

Constructor Details

#initialize(name, size = 1, **options) ⇒ HashField

Returns a new instance of HashField.



257
258
259
# File 'lib/nose/model/fields.rb', line 257

def initialize(name, size = 1, **options)
  super(name, size, **options)
end