Module: Fig::Grammar::V0::Package0

Defined in:
lib/fig/grammar/v0.rb

Instance Method Summary collapse

Instance Method Details

#grammar_versionObject


42
43
44
# File 'lib/fig/grammar/v0.rb', line 42

def grammar_version
  elements[1]
end

#optional_ws1Object


38
39
40
# File 'lib/fig/grammar/v0.rb', line 38

def optional_ws1
  elements[0]
end

#optional_ws2Object


50
51
52
# File 'lib/fig/grammar/v0.rb', line 50

def optional_ws2
  elements[4]
end

#statementsObject


46
47
48
# File 'lib/fig/grammar/v0.rb', line 46

def statements
  elements[3]
end