Class: DataObjects::Field
- Defined in:
- lib/gems/data_objects-0.9.10.1/lib/data_objects/field.rb
Instance Method Summary collapse
-
#initialize(name, type) ⇒ Field
constructor
A new instance of Field.
- #name ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(name, type) ⇒ Field
Returns a new instance of Field.
5 6 7 |
# File 'lib/gems/data_objects-0.9.10.1/lib/data_objects/field.rb', line 5 def initialize(name, type) @name, @type = name, type end |