Class: DataBindings::Bound::Errors
Instance Attribute Summary collapse
Instance Method Summary
collapse
#convert!, #convert_key, #convert_value, included, #indifferent_access?, #indifferent_default, #indifferent_delete, #indifferent_fetch, #indifferent_key?, #indifferent_update, #indifferent_values_at, #indifferent_writer, inject, inject!
Instance Attribute Details
#base ⇒ Object
Returns the value of attribute base.
7
8
9
|
# File 'lib/data_bindings/bound.rb', line 7
def base
@base
end
|
Instance Method Details
#clear ⇒ Object
17
18
19
20
|
# File 'lib/data_bindings/bound.rb', line 17
def clear
super
@base = nil
end
|
#join(st = nil) ⇒ Object
9
10
11
|
# File 'lib/data_bindings/bound.rb', line 9
def join(st = nil)
(base ? [base].concat(values) : values).join(st)
end
|
#valid? ⇒ Boolean
13
14
15
|
# File 'lib/data_bindings/bound.rb', line 13
def valid?
base.nil? && empty?
end
|