Module: Fig::Grammar::V2::Package0
- Defined in:
- lib/fig/grammar/v2.rb
Instance Method Summary collapse
- #grammar_version ⇒ Object
- #optional_ws_or_comment1 ⇒ Object
- #optional_ws_or_comment2 ⇒ Object
- #statements ⇒ Object
Instance Method Details
#grammar_version ⇒ Object
35 36 37 |
# File 'lib/fig/grammar/v2.rb', line 35 def grammar_version elements[1] end |
#optional_ws_or_comment1 ⇒ Object
31 32 33 |
# File 'lib/fig/grammar/v2.rb', line 31 def optional_ws_or_comment1 elements[0] end |
#optional_ws_or_comment2 ⇒ Object
43 44 45 |
# File 'lib/fig/grammar/v2.rb', line 43 def optional_ws_or_comment2 elements[3] end |
#statements ⇒ Object
39 40 41 |
# File 'lib/fig/grammar/v2.rb', line 39 def statements elements[2] end |