Class: LastfmM3u::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/lastfm-m3u/base.rb

Direct Known Subclasses

Lastfm, Search

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



5
6
7
8
# File 'lib/lastfm-m3u/base.rb', line 5

def initialize
  @m3u_path = Dir.pwd
  @m3u = M3Uzi.new
end

Instance Attribute Details

#m3uObject

Returns the value of attribute m3u.



3
4
5
# File 'lib/lastfm-m3u/base.rb', line 3

def m3u
  @m3u
end

#m3u_pathObject

Returns the value of attribute m3u_path.



3
4
5
# File 'lib/lastfm-m3u/base.rb', line 3

def m3u_path
  @m3u_path
end