module TimeBoots

Constants

VERSION

Public Instance Methods

advance(step, tm, steps = 1) click to toggle source
# File lib/time_boots.rb, line 63
def advance(step, tm, steps = 1)
  Boot.get(step).advance(step, tm, steps)
end
ceil(step, tm) click to toggle source
# File lib/time_boots.rb, line 51
def ceil(step, tm)
  Boot.get(step).ceil(tm)
end
day() click to toggle source
# File lib/time_boots.rb, line 29
def day
  Boot.get(:day)
end
decrease(step, tm, steps = 1) click to toggle source
# File lib/time_boots.rb, line 67
def decrease(step, tm, steps = 1)
  Boot.get(step).decrease(step, tm, steps)
end
floor(step, tm) click to toggle source

Boot-less method shortcuts :nocov:

# File lib/time_boots.rb, line 47
def floor(step, tm)
  Boot.get(step).floor(tm)
end
hour() click to toggle source
# File lib/time_boots.rb, line 25
def hour
  Boot.get(:hour)
end
jump(step, steps = 1) click to toggle source
# File lib/time_boots.rb, line 79
def jump(step, steps = 1)
  Boot.get(step).jump(steps)
end
lace(step, from, to, options = {}) click to toggle source
# File lib/time_boots.rb, line 87
def lace(step, from, to, options = {})
  Boot.get(step).lace(from, to, options)
end
measure(from, to, options = {}) click to toggle source
# File lib/time_boots.rb, line 83
def measure(from, to, options = {})
  Measure.measure(from, to, options)
end
min() click to toggle source
# File lib/time_boots.rb, line 21
def min
  Boot.get(:min)
end
month() click to toggle source
# File lib/time_boots.rb, line 37
def month
  Boot.get(:month)
end
range(step, tm, steps = 1) click to toggle source
# File lib/time_boots.rb, line 71
def range(step, tm, steps = 1)
  Boot.get(step).range(tm, steps)
end
range_back(step, tm, steps = 1) click to toggle source
# File lib/time_boots.rb, line 75
def range_back(step, tm, steps = 1)
  Boot.get(step).range_back(tm, steps)
end
round(step, tm) click to toggle source
# File lib/time_boots.rb, line 55
def round(step, tm)
  Boot.get(step).round(tm)
end
round?(step, tm) click to toggle source
# File lib/time_boots.rb, line 59
def round?(step, tm)
  Boot.get(step).round?(tm)
end
sec() click to toggle source

Boot shortcuts

# File lib/time_boots.rb, line 17
def sec
  Boot.get(:sec)
end
steps() click to toggle source

rubocop:enable Style/ModuleFunction

# File lib/time_boots.rb, line 9
def steps
  Boot.steps
end
week() click to toggle source
# File lib/time_boots.rb, line 33
def week
  Boot.get(:week)
end
year() click to toggle source
# File lib/time_boots.rb, line 41
def year
  Boot.get(:year)
end