Class: CompositionParser

Inherits:
Parslet::Parser
  • Object
show all
Includes:
Parslet
Defined in:
lib/oddb2xml/compositions_syntax.rb

Direct Known Subclasses

GalenicFormParser

Instance Method Summary collapse

Instance Method Details

#tag(opts = {}) ⇒ Object

Perhaps we could have some syntax sugar to make this more easy?



332
333
334
# File 'lib/oddb2xml/compositions_syntax.rb', line 332

def tag(opts = {})
  opts[:close] || false
end