Method: ActiveModel::AttributeSet#fetch_value

Defined in:
activemodel/lib/active_model/attribute_set.rb

#fetch_value(name, &block) ⇒ Object



50
51
52
# File 'activemodel/lib/active_model/attribute_set.rb', line 50

def fetch_value(name, &block)
  self[name].value(&block)
end