Class: Dynamic::Properties::InterpretAsBuilder

Inherits:
KirguduBase::Dynamic::BaseBuilder
  • Object
show all
Defined in:
app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ InterpretAsBuilder

Returns a new instance of InterpretAsBuilder.



5
6
7
8
9
10
11
12
13
14
# File 'app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb', line 5

def initialize(options = {})
	self.builder_options.merge!(
		{
			name: nil,
			preprocessors: nil,
			data_type: nil
		}
	)
	super(options)
end

Instance Attribute Details

#data_typeObject

Returns the value of attribute data_type.



18
19
20
# File 'app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb', line 18

def data_type
  @data_type
end

#nameObject

Returns the value of attribute name.



16
17
18
# File 'app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb', line 16

def name
  @name
end

#preprocessorsObject

Returns the value of attribute preprocessors.



17
18
19
# File 'app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb', line 17

def preprocessors
  @preprocessors
end