Method: Dynamoid::Fields::Declare#initialize
- Defined in:
- lib/dynamoid/fields/declare.rb
#initialize(source, name, type, options) ⇒ Declare
Returns a new instance of Declare.
7 8 9 10 11 12 |
# File 'lib/dynamoid/fields/declare.rb', line 7 def initialize(source, name, type, ) @source = source @name = name.to_sym @type = type = end |