class NullFortyTime

Public Class Methods

new() click to toggle source
Calls superclass method FortyTime::new
# File lib/null_forty_time.rb, line 4
def initialize
  super(0)
end

Public Instance Methods

+(other) click to toggle source
# File lib/null_forty_time.rb, line 10
def +(other)
  other
end
-(other) click to toggle source
# File lib/null_forty_time.rb, line 14
def -(other)
  other
end
to_s() click to toggle source
# File lib/null_forty_time.rb, line 18
def to_s
  ''
end
value() click to toggle source
# File lib/null_forty_time.rb, line 8
def value; end