Class: CompositionParser

Inherits:
Parslet::Parser
  • Object
show all
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?



325
326
327
# File 'lib/oddb2xml/compositions_syntax.rb', line 325

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