class Timezone::NilZone
A “nil” timezone object - representative of a missing timezone.
Public Instance Methods
inspect()
click to toggle source
A stubbed timezone debug string.
@return [String]
# File lib/timezone/nil_zone.rb, line 23 def inspect '#<Timezone::NilZone>' end
name()
click to toggle source
A stubbed timezone name.
@return [nil]
# File lib/timezone/nil_zone.rb, line 9 def name nil end
to_s()
click to toggle source
A stubbed timezone display string.
@return [String]
# File lib/timezone/nil_zone.rb, line 16 def to_s 'NilZone' end
valid?()
click to toggle source
If this is a valid timezone.
@return [false]
# File lib/timezone/nil_zone.rb, line 30 def valid? false end