Class: Golem::Model::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/golem/model/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Event

Returns a new instance of Event.



7
8
9
# File 'lib/golem/model/event.rb', line 7

def initialize(name)
  @name = name
end

Instance Attribute Details

#callbacksObject (readonly)

Returns the value of attribute callbacks.



5
6
7
# File 'lib/golem/model/event.rb', line 5

def callbacks
  @callbacks
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/golem/model/event.rb', line 4

def name
  @name
end