class ShortDurationRange

Public Class Methods

allowed_units() click to toggle source
# File lib/timespan/core_ext/range.rb, line 205
def self.allowed_units
  [:seconds, :minutes, :hours]
end

Public Instance Methods

allowed_units() click to toggle source
# File lib/timespan/core_ext/range.rb, line 209
def allowed_units
  ShortDurationRange.allowed_units
end
length() click to toggle source
# File lib/timespan/core_ext/range.rb, line 201
def length
  :short
end