module TapeMeasure

Silence is golden

Constants

VERSION

Public Class Methods

format(number) click to toggle source
# File lib/tape_measure/formatter.rb, line 45
def format(number)
  Formatter.new(number).mixed_number
end
match?(string) click to toggle source
# File lib/tape_measure/parser.rb, line 40
def match?(string)
  Parser.new(string).match
end
parse(string) click to toggle source
# File lib/tape_measure/parser.rb, line 36
def parse(string)
  Parser.new(string).value
end
scalar(string) click to toggle source
# File lib/tape_measure/parser.rb, line 44
def scalar(string)
  Parser.new(string).scalar
end
unit(string) click to toggle source
# File lib/tape_measure/parser.rb, line 48
def unit(string)
  Parser.new(string).unit
end