class RecordX::RXHash

Public Class Methods

new(callerx) click to toggle source
Calls superclass method
# File lib/recordx.rb, line 19
def initialize(callerx)
  super()
  @callerx = callerx
end

Public Instance Methods

[]=(name, val) click to toggle source
Calls superclass method
# File lib/recordx.rb, line 24
def []=(name, val)
  unless @callerx.send(name.to_sym) == val then
    @callerx.send((name.to_s + '=').to_sym, val)
  end
  super(name, val)
end
clone() click to toggle source
# File lib/recordx.rb, line 31
def clone()
  self.to_h.clone
end