Module: Gisele::Language::Syntax::EventSet

Includes:
Node
Defined in:
lib/gisele/language/syntax/event_set.rb

Instance Method Summary collapse

Methods included from Node

#to_ast, #value

Instance Method Details

#_to_astObject



7
8
9
10
# File 'lib/gisele/language/syntax/event_set.rb', line 7

def _to_ast
  events = (captures[:event] || []).map{|e| e.value}
  [:event_set] + events
end