Class: WhatsUp::FrozenSection
Instance Method Summary collapse
-
#initialize(object, vars = {}) ⇒ FrozenSection
constructor
A new instance of FrozenSection.
Constructor Details
#initialize(object, vars = {}) ⇒ FrozenSection
Returns a new instance of FrozenSection.
3 4 5 6 7 8 |
# File 'lib/whats_up/frozen_section.rb', line 3 def initialize(object, vars = {}) @object = object vars.each do |key, value| instance_variable_set "@#{key}", value end end |