Class: Code::Parser::Nothing
- Defined in:
- lib/code/parser/nothing.rb
Instance Method Summary collapse
Instance Method Details
#nothing_keyword ⇒ Object
10 11 12 |
# File 'lib/code/parser/nothing.rb', line 10 def nothing_keyword str("nothing") << separator.present end |
#root ⇒ Object
14 15 16 |
# File 'lib/code/parser/nothing.rb', line 14 def root nothing_keyword.aka(:nothing) | Group end |
#separator ⇒ Object
6 7 8 |
# File 'lib/code/parser/nothing.rb', line 6 def separator Name.new.separator end |