Class: Walrus::Grammar::SuperDirective

Inherits:
Directive
  • Object
show all
Defined in:
lib/walrus/grammar/super_directive.rb

Instance Method Summary collapse

Instance Method Details

#compile(options = {}) ⇒ Object



28
29
30
31
# File 'lib/walrus/grammar/super_directive.rb', line 28

def compile options = {}
  # basic case, no explicit parameters
  "super # Super directive\n"
end