Class: Acme::Smileage::Discography::Albums::Base
- Inherits:
-
Object
- Object
- Acme::Smileage::Discography::Albums::Base
- Defined in:
- lib/acme/smileage/discography/albums/base.rb
Direct Known Subclasses
Amanojaku, AsuhaDateNanoniImasuguKoeGaKikitai, AtarashiiWatashiniNare_Yattaruchan, ChotoMateKudasai, Dotbikini, Eeka_Iiyatsu, GambaranakutemoEenende, GambaranakutemoEenendeTopnudeRemixVersion01, KoiNiBooingBoo, MysteryNight_EighteenEmotion, OnajiJikyuuDeHatarakuTomodachiNoBijinMama, OnajiJikyuuDeHatarakuTomodachiNoBijinMamaRemixType1, OtonaNiNarutteMuzukashii, PleaseMinisukaPostWoman, Samuine, Shortcut, ShortcutRemixver, SmileSensation, SmleageBestAlbumComplete1, Sukichan, SukiyoJunjouHankouki, TabidachiNoHaruGaKita, Tachiagirl, UchoutenLove, UchoutenLoverocketmanMix, WaruGaki1, Yumemiru15sai, Yumemiru15saiPaxJaponicaGrooveRemix
Instance Attribute Summary collapse
-
#artwork_links ⇒ Object
readonly
Returns the value of attribute artwork_links.
-
#discography_link ⇒ Object
readonly
Returns the value of attribute discography_link.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#name_romaji ⇒ Object
readonly
Returns the value of attribute name_romaji.
-
#nicknames ⇒ Object
readonly
Returns the value of attribute nicknames.
-
#oricon ⇒ Object
readonly
Returns the value of attribute oricon.
-
#release_date ⇒ Object
readonly
Returns the value of attribute release_date.
-
#soundscan ⇒ Object
readonly
Returns the value of attribute soundscan.
-
#tracks ⇒ Object
readonly
Returns the value of attribute tracks.
Instance Method Summary collapse
- #album? ⇒ Boolean
- #best_album? ⇒ Boolean
- #download_only? ⇒ Boolean
- #indies? ⇒ Boolean
- #major? ⇒ Boolean
- #original_album? ⇒ Boolean
- #release_year ⇒ Object
- #single? ⇒ Boolean
Instance Attribute Details
#artwork_links ⇒ Object (readonly)
Returns the value of attribute artwork_links.
11 12 13 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 11 def artwork_links @artwork_links end |
#discography_link ⇒ Object (readonly)
Returns the value of attribute discography_link.
11 12 13 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 11 def discography_link @discography_link end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
11 12 13 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 11 def name @name end |
#name_romaji ⇒ Object (readonly)
Returns the value of attribute name_romaji.
11 12 13 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 11 def name_romaji @name_romaji end |
#nicknames ⇒ Object (readonly)
Returns the value of attribute nicknames.
11 12 13 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 11 def nicknames @nicknames end |
#oricon ⇒ Object (readonly)
Returns the value of attribute oricon.
12 13 14 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 12 def oricon @oricon end |
#release_date ⇒ Object (readonly)
Returns the value of attribute release_date.
11 12 13 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 11 def release_date @release_date end |
#soundscan ⇒ Object (readonly)
Returns the value of attribute soundscan.
12 13 14 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 12 def soundscan @soundscan end |
#tracks ⇒ Object (readonly)
Returns the value of attribute tracks.
13 14 15 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 13 def tracks @tracks end |
Instance Method Details
#album? ⇒ Boolean
18 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 18 def album?; false; end |
#best_album? ⇒ Boolean
19 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 19 def best_album?; false; end |
#download_only? ⇒ Boolean
25 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 25 def download_only?; false; end |
#indies? ⇒ Boolean
23 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 23 def indies?; false; end |
#major? ⇒ Boolean
22 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 22 def major?; not indies?; end |
#original_album? ⇒ Boolean
20 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 20 def original_album?; album? and not best_album?; end |
#release_year ⇒ Object
15 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 15 def release_year; self.release_date.year; end |
#single? ⇒ Boolean
17 |
# File 'lib/acme/smileage/discography/albums/base.rb', line 17 def single?; not album? and not download_only?; end |