Class: WhatsUp::FrozenSection

Inherits:
Object
  • Object
show all
Defined in:
lib/whats_up/frozen_section.rb

Instance Method Summary collapse

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