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
35 36 37 |
# File 'lib/fig/grammar/v1.rb', line 35 def grammar_version elements[1] end |
#optional_ws_or_comment1 ⇒ Object
31 32 33 |
# File 'lib/fig/grammar/v1.rb', line 31 def optional_ws_or_comment1 elements[0] end |
#optional_ws_or_comment2 ⇒ Object
43 44 45 |
# File 'lib/fig/grammar/v1.rb', line 43 def optional_ws_or_comment2 elements[3] end |
#statements ⇒ Object
39 40 41 |
# File 'lib/fig/grammar/v1.rb', line 39 def statements elements[2] end |