Parent

Monkeybars::RawMapping

Public Instance Methods

from_view(view, model, transfer) click to toggle source
# File lib/monkeybars/view_mapping.rb, line 209
def from_view(view, model, transfer)
  view.method(@from_view_method).call(model, transfer) unless @from_view_method.nil?
end
to_view(view, model, transfer) click to toggle source
# File lib/monkeybars/view_mapping.rb, line 203
def to_view(view, model, transfer)
  disable_declared_handlers(view) do
    view.method(@to_view_method).call(model, transfer)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.