Class: CompositionParser

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

Instance Method Summary collapse

Instance Method Details

#tag(opts = {}) ⇒ Object

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



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

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