class Transit::Wrapper

Attributes

value[R]

Public Class Methods

new(value) click to toggle source
# File lib/transit/transit_types.rb, line 23
def initialize(value)
  @value = value
end

Public Instance Methods

==(other) click to toggle source
# File lib/transit/transit_types.rb, line 27
def ==(other)
  other.is_a?(self.class) && @value == other.value
end
Also aliased as: eql?
eql?(other)
Alias for: ==
inspect() click to toggle source
# File lib/transit/transit_types.rb, line 32
def inspect
  "<#{self.class} \"#{to_s}\">"
end