Module: Babl::Operators::Typed::DSL
- Included in:
- Template
- Defined in:
- lib/babl/operators/typed.rb
Instance Method Summary collapse
Instance Method Details
#boolean ⇒ Object
20 21 22 |
# File 'lib/babl/operators/typed.rb', line 20 def boolean construct_terminal { Nodes::Typed::Boolean.instance } end |
#integer ⇒ Object
8 9 10 |
# File 'lib/babl/operators/typed.rb', line 8 def integer construct_terminal { Nodes::Typed::Integer.instance } end |
#number ⇒ Object
12 13 14 |
# File 'lib/babl/operators/typed.rb', line 12 def number construct_terminal { Nodes::Typed::Number.instance } end |
#string ⇒ Object
16 17 18 |
# File 'lib/babl/operators/typed.rb', line 16 def string construct_terminal { Nodes::Typed::String.instance } end |