Method: Code::Parser::Call#block
- Defined in:
- lib/code/parser/call.rb
#block ⇒ Object
108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/code/parser/call.rb', line 108 def block ( do_keyword << whitespace? << parameters.aka(:parameters).maybe << code.aka(:body) << end_keyword.maybe ) | ( opening_curly_bracket << whitespace? << parameters.aka(:parameters).maybe << code.aka(:body) << closing_curly_bracket.maybe ) end |