Module: CEML::Lexer::Duration1

Defined in:
lib/ceml/lang/tt/lexer.rb

Instance Method Summary collapse

Instance Method Details

#secondsObject



711
712
713
# File 'lib/ceml/lang/tt/lexer.rb', line 711

def seconds
  CEML.dur(number.text_value.to_f, time_unit.text_value)
end