Use one of these in a coordinate to force the coordinate to be treated as an index rather than a label.
Retrieve the actual index
Retrieve the actual index
Create an IndexWrapper with the given integer index
# File lib/ntable/index_wrapper.rb, line 48 def initialize(val_) @value = val_.to_i end
Standard equality checker
# File lib/ntable/index_wrapper.rb, line 55 def eql?(rhs_) rhs_.is_a?(IndexWrapper) && @value == @rhs_.value end
Standard hash value
# File lib/ntable/index_wrapper.rb, line 63 def hash @value.hash end