class Trither::Box
Constants
- C
Public Class Methods
new(value)
click to toggle source
# File lib/trither.rb, line 10 def initialize(value) @value = value end
Public Instance Methods
==(other)
click to toggle source
# File lib/trither.rb, line 15 def ==(other) (self.class == other.class) && (@value == other.instance_variable_get('@value')) end