Class: FilterLexer::NumberLiteral
- Defined in:
- lib/filter_lexer/nodes/literals.rb
Overview
A number is an integer or a float, with an optional sign and an optional exponent
Instance Method Summary collapse
Instance Method Details
#data ⇒ Object
36 37 38 |
# File 'lib/filter_lexer/nodes/literals.rb', line 36 def data return text_value.to_f end |