Module: RedisModel::ArrayProxy

Defined in:
lib/redismodel.rb

Instance Method Summary collapse

Instance Method Details

#<<(other) ⇒ Object



21
22
23
# File 'lib/redismodel.rb', line 21

def <<(other)
  @__model__.send(:set, @__property__, super)
end

#push(other) ⇒ Object



25
26
27
# File 'lib/redismodel.rb', line 25

def push(other)
  self << other
end