class Opal::Nodes::NodeWithArgs
def self.define_shortcut(name, **kwargs, &block)
def self.define_shortcut(name, **kwargs, &block) kwargs[:for] ||= :def @shortcuts << Shortcut.new(name, kwargs[:for], kwargs[:when], block) end
def self.define_shortcut(name, **kwargs, &block) kwargs[:for] ||= :def @shortcuts << Shortcut.new(name, kwargs[:for], kwargs[:when], block) end