Class: SpdxGrammar::Body
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- SpdxGrammar::Body
- Defined in:
- lib/spdx_grammar.rb
Instance Method Summary collapse
Instance Method Details
#licenses ⇒ Object
51 52 53 |
# File 'lib/spdx_grammar.rb', line 51 def licenses elements.map { |node| node.licenses if node.respond_to?(:licenses) }.flatten.uniq.compact end |