Class: Ektoplayer::Models::Model

Inherits:
Object
  • Object
show all
Defined in:
lib/ektoplayer/models/model.rb

Overview

Base class for all other models.

Direct Known Subclasses

Browser, Database, Player, Playlist, Search, Trackloader

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeModel

Returns a new instance of Model.



9
10
11
12
# File 'lib/ektoplayer/models/model.rb', line 9

def initialize
   @events = Events.new
   @events.no_auto_create
end

Instance Attribute Details

#eventsObject (readonly)

Returns the value of attribute events.



7
8
9
# File 'lib/ektoplayer/models/model.rb', line 7

def events
  @events
end