Class: SpdxGrammar::LicensePlus
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- SpdxGrammar::LicensePlus
- Defined in:
- lib/spdx_grammar.rb
Instance Method Summary collapse
Instance Method Details
#child ⇒ Object
63 64 65 |
# File 'lib/spdx_grammar.rb', line 63 def child elements[0] end |
#licenses ⇒ Object
59 60 61 |
# File 'lib/spdx_grammar.rb', line 59 def licenses child.licenses.map { |license| "#{license}+" } end |