Class: SpdxGrammar::With

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/spdx_grammar.rb

Instance Method Summary collapse

Instance Method Details

#exceptionObject



35
36
37
# File 'lib/spdx_grammar.rb', line 35

def exception
  elements[1]
end

#licenseObject



31
32
33
# File 'lib/spdx_grammar.rb', line 31

def license
  elements[0]
end

#licensesObject



27
28
29
# File 'lib/spdx_grammar.rb', line 27

def licenses
  license.licenses
end