Class: SimpleMapper::ChangeHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/simple_mapper/change_hash.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#allObject (readonly)

Returns the value of attribute all.



3
4
5
# File 'lib/simple_mapper/change_hash.rb', line 3

def all
  @all
end

Instance Method Details

#all_changed!Object



5
6
7
# File 'lib/simple_mapper/change_hash.rb', line 5

def all_changed!
  @all = true
end

#clearObject



9
10
11
12
# File 'lib/simple_mapper/change_hash.rb', line 9

def clear
  @all = false
  super
end