class Onuro::EngineConfiguration

Attributes

events[R]

Public Class Methods

new() click to toggle source
# File lib/onuro/engine_configuration.rb, line 7
def initialize
  @events = Hash.new(0)
end

Public Instance Methods

add_event(event_name) click to toggle source
# File lib/onuro/engine_configuration.rb, line 11
def add_event(event_name)
  event = EventBuilder.build(event_name)
  events[event.name] = event
end