Skip to content

class Event internal ​

Represents an AST event

Examples ​

ruby
# string template usage
node { @event="func" }
ruby
# builder DSL usage
on :event do |event|
  #...
end

#initialize(name, value) internal ​

Constructor for the Func

Arguments ​

  • name - the name of the event (String)
  • value - the func value for the event (Hokusai::Func)