Module: Fig::Grammar::V1::Package0
- Defined in:
- lib/fig/grammar/v1.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
33 34 35 |
# File 'lib/fig/grammar/v1.rb', line 33 def grammar_version elements[1] end |
#optional_ws_or_comment1 ⇒ Object
29 30 31 |
# File 'lib/fig/grammar/v1.rb', line 29 def optional_ws_or_comment1 elements[0] end |
#optional_ws_or_comment2 ⇒ Object
41 42 43 |
# File 'lib/fig/grammar/v1.rb', line 41 def optional_ws_or_comment2 elements[3] end |
#statements ⇒ Object
37 38 39 |
# File 'lib/fig/grammar/v1.rb', line 37 def statements elements[2] end |