class Gizmo::Context

Provides context when performing an operation (i.e. find_all, find)

Attributes

callback[RW]
format[RW]
gizmo[RW]

Public Class Methods

new(attrs={}) click to toggle source

TODO document options

# File lib/gizmo/models/context.rb, line 8
def initialize(attrs={})
  attrs.each do |key, val|
    setter = :"#{key}="
    send setter, val if respond_to?(setter)
  end
end