Module: GrandCentral::Model::Subscriptable

Defined in:
lib/grand_central/model/subscriptable.rb

Instance Method Summary collapse

Instance Method Details

#[](attr) ⇒ Object



10
11
12
# File 'lib/grand_central/model/subscriptable.rb', line 10

def [](attr)
  send(attr)
end

#merge(other) ⇒ Object



6
7
8
# File 'lib/grand_central/model/subscriptable.rb', line 6

def merge(other)
  update(other)
end