Class: KBL::Song
- Inherits:
-
Object
- Object
- KBL::Song
- Includes:
- KBL::Serializable::Song
- Defined in:
- lib/kbl/song.rb
Instance Attribute Summary collapse
-
#album ⇒ Object
Returns the value of attribute album.
-
#album_id ⇒ Object
Returns the value of attribute album_id.
-
#artist ⇒ Object
Returns the value of attribute artist.
-
#artist_id ⇒ Object
Returns the value of attribute artist_id.
-
#genre ⇒ Object
Returns the value of attribute genre.
-
#has_lyrics ⇒ Object
Returns the value of attribute has_lyrics.
-
#name ⇒ Object
Returns the value of attribute name.
-
#pathname ⇒ Object
Returns the value of attribute pathname.
-
#play_count ⇒ Object
Returns the value of attribute play_count.
-
#preference ⇒ Object
Returns the value of attribute preference.
-
#song_index ⇒ Object
Returns the value of attribute song_index.
-
#type ⇒ Object
Returns the value of attribute type.
Method Summary
Methods included from KBL::Serializable::Song
Instance Attribute Details
#album ⇒ Object
Returns the value of attribute album.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def album @album end |
#album_id ⇒ Object
Returns the value of attribute album_id.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def album_id @album_id end |
#artist ⇒ Object
Returns the value of attribute artist.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def artist @artist end |
#artist_id ⇒ Object
Returns the value of attribute artist_id.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def artist_id @artist_id end |
#genre ⇒ Object
Returns the value of attribute genre.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def genre @genre end |
#has_lyrics ⇒ Object
Returns the value of attribute has_lyrics.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def has_lyrics @has_lyrics end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def name @name end |
#pathname ⇒ Object
Returns the value of attribute pathname.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def pathname @pathname end |
#play_count ⇒ Object
Returns the value of attribute play_count.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def play_count @play_count end |
#preference ⇒ Object
Returns the value of attribute preference.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def preference @preference end |
#song_index ⇒ Object
Returns the value of attribute song_index.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def song_index @song_index end |
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/kbl/song.rb', line 5 def type @type end |