Method: ActiveSet#initialize
- Defined in:
- lib/active_set.rb
#initialize(set, view: nil, instructions: {}) ⇒ ActiveSet
Returns a new instance of ActiveSet.
40 41 42 43 44 |
# File 'lib/active_set.rb', line 40 def initialize(set, view: nil, instructions: {}) @set = set @view = view || set @instructions = instructions end |