Class: KBL::Song

Inherits:
Object
  • Object
show all
Includes:
KBL::Serializable::Song
Defined in:
lib/kbl/song.rb

Instance Attribute Summary collapse

Method Summary

Methods included from KBL::Serializable::Song

#to_kbl_node

Instance Attribute Details

#albumObject

Returns the value of attribute album.



5
6
7
# File 'lib/kbl/song.rb', line 5

def album
  @album
end

#album_idObject

Returns the value of attribute album_id.



5
6
7
# File 'lib/kbl/song.rb', line 5

def album_id
  @album_id
end

#artistObject

Returns the value of attribute artist.



5
6
7
# File 'lib/kbl/song.rb', line 5

def artist
  @artist
end

#artist_idObject

Returns the value of attribute artist_id.



5
6
7
# File 'lib/kbl/song.rb', line 5

def artist_id
  @artist_id
end

#genreObject

Returns the value of attribute genre.



5
6
7
# File 'lib/kbl/song.rb', line 5

def genre
  @genre
end

#has_lyricsObject

Returns the value of attribute has_lyrics.



5
6
7
# File 'lib/kbl/song.rb', line 5

def has_lyrics
  @has_lyrics
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/kbl/song.rb', line 5

def name
  @name
end

#pathnameObject

Returns the value of attribute pathname.



5
6
7
# File 'lib/kbl/song.rb', line 5

def pathname
  @pathname
end

#play_countObject

Returns the value of attribute play_count.



5
6
7
# File 'lib/kbl/song.rb', line 5

def play_count
  @play_count
end

#preferenceObject

Returns the value of attribute preference.



5
6
7
# File 'lib/kbl/song.rb', line 5

def preference
  @preference
end

#song_indexObject

Returns the value of attribute song_index.



5
6
7
# File 'lib/kbl/song.rb', line 5

def song_index
  @song_index
end

#typeObject

Returns the value of attribute type.



5
6
7
# File 'lib/kbl/song.rb', line 5

def type
  @type
end