Module: ITuner

Defined in:
lib/ituner/model.rb,
lib/ituner/track.rb,
lib/ituner/itunes.rb,
lib/ituner/source.rb,
lib/ituner/version.rb,
lib/ituner/playlist.rb,
lib/ituner/collection.rb

Defined Under Namespace

Classes: Collection, ITunes, Model, Playlist, Source, Track

Constant Summary collapse

VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.itunesObject



15
16
17
18
# File 'lib/ituner/itunes.rb', line 15

def itunes
  itunes_app.launch
  ITunes.new(itunes_app)
end

.itunes_appObject



11
12
13
# File 'lib/ituner/itunes.rb', line 11

def itunes_app
  @itunes_app ||= Appscript.app("iTunes")
end