module Octoball::CurrentShardTracker
Attributes
current_shard[R]
Public Instance Methods
==(other)
click to toggle source
Calls superclass method
# File lib/octoball/current_shard_tracker.rb, line 13 def ==(other) super && current_shard == other.current_shard end
becomes(klass)
click to toggle source
Calls superclass method
# File lib/octoball/current_shard_tracker.rb, line 7 def becomes(klass) became = super became.instance_variable_set(:@current_shard, current_shard) became end