Method: Concerns::Events#initialize

Defined in:
lib/events.rb

#initialize(id = nil, title = nil, tag_line = nil, date = nil, how_to_watch = nil, arena = nil, location = nil) ⇒ Events

Returns a new instance of Events.



21
22
23
24
25
26
27
28
29
30
# File 'lib/events.rb', line 21

def initialize(id = nil, title = nil, tag_line = nil, date = nil, how_to_watch = nil, arena = nil,location = nil)
  @id = id
  @title = title
  @tag_line = tag_line
  @date = date
  @how_to_watch = how_to_watch
  @location = location
  @event_fights = []
  @@all << self
end