Module: Babl::Operators::Typed::DSL
- Included in:
- Template
- Defined in:
- lib/babl/operators/typed.rb
Instance Method Summary collapse
Instance Method Details
#boolean ⇒ Object
19 20 21 |
# File 'lib/babl/operators/typed.rb', line 19 def boolean construct_node(continue: nil) { |node| Nodes::Typed::BOOLEAN.call(node) } end |
#integer ⇒ Object
7 8 9 |
# File 'lib/babl/operators/typed.rb', line 7 def integer construct_node(continue: nil) { |node| Nodes::Typed::INTEGER.call(node) } end |
#number ⇒ Object
11 12 13 |
# File 'lib/babl/operators/typed.rb', line 11 def number construct_node(continue: nil) { |node| Nodes::Typed::NUMBER.call(node) } end |
#string ⇒ Object
15 16 17 |
# File 'lib/babl/operators/typed.rb', line 15 def string construct_node(continue: nil) { |node| Nodes::Typed::STRING.call(node) } end |