Class: Acme::Smileage::Discography::Tracks::Base
- Inherits:
-
Object
- Object
- Acme::Smileage::Discography::Tracks::Base
- Defined in:
- lib/acme/smileage/discography/tracks/base.rb
Direct Known Subclasses
Amanojaku, AsuhaDateNanoniImasuguKoeGaKikitai, AtarashiiWatashiniNare, BoogieTrain11, ChanceTourai, ChokottoLove, ChotoMateKudasai, ChuNatsuParty, Dotbikini, Doushiyou, Eeka, EighteenEmotion, GakkyuuIinchou, GambaranakutemoEenende, GambaranakutemoEenendeTopnudeRemixVersion01, GambaranakutemoIindayo, HatukoiNoAnatahe, Iiyatsu, JitenshaChiririn, KiiroiJitenshaToSandwich, KimiHaJitenshaWatasiHaDensyaDeKitaku, KoiNiBooingBoo, KoiWoShichaimashita, KoibitoHaKokoroNoOuendan, KonnichiwaKonbanwa, MysteryNight, NamidaGirl, NeeSempai, Odorouyo, OnajiJikyuuDeHatarakuTomodachiNoBijinMama, OnajiJikyuuDeHatarakuTomodachiNoBijinMamaRemixType1, OnnaBakariNoNichiyoubi, OtomePastaNiKandou, OtonaNiNarutteMuzukashii, OtonaNoTochuu, PanyasanNoArbeit, PleaseMinisukaPostWoman, Samuine, SayonaraSayonaraSayonara, ShikkariShiteyoMou, ShinNihonNoSusume, ShootingStar, Shortcut, ShortcutRemixver, SmileBijin, SmileBlues, SmileOndon, SmileageSinglesGekiatsuRemix, SmileageSinglesGekimoeRemix, SmileageSinglesGekiyabaRemix, Sukichan, SukiyoJunjouHankouki, TabidachiNoHaruGaKita, Tachiagirl, TenshinRamman, TewoNigitteArukitai, ThankYouCremeBruleeNoYuujou, UchoutenLove, UchoutenLoverocketmanMix, WatashiChoitoKawaiiUrabancho, WatashiNoKokoro, Yattaruchan, Yumemiru15sai, Yumemiru15saiPaxJaponicaGrooveRemix, YuugureKoiNoJikan
Constant Summary collapse
- DEFAULT_USER_AGENT =
"Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)"
Instance Attribute Summary collapse
-
#arrangers ⇒ Object
readonly
Returns the value of attribute arrangers.
-
#composers ⇒ Object
readonly
Returns the value of attribute composers.
-
#hpma ⇒ Object
readonly
Returns the value of attribute hpma.
-
#itunes_links ⇒ Object
readonly
Returns the value of attribute itunes_links.
-
#lyric_links ⇒ Object
readonly
Returns the value of attribute lyric_links.
-
#lyricists ⇒ Object
readonly
Returns the value of attribute lyricists.
-
#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.
-
#play_time ⇒ Object
readonly
Returns the value of attribute play_time.
-
#youtube_links ⇒ Object
readonly
Returns the value of attribute youtube_links.
Instance Method Summary collapse
- #cover? ⇒ Boolean
- #get_lyrics(site = nil) ⇒ Object
-
#initialize ⇒ Base
constructor
A new instance of Base.
- #remix? ⇒ Boolean
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
23 24 25 26 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 23 def initialize @lyricists = ["つんく♂"] @composers = ["つんく♂"] end |
Instance Attribute Details
#arrangers ⇒ Object (readonly)
Returns the value of attribute arrangers.
19 20 21 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 19 def arrangers @arrangers end |
#composers ⇒ Object (readonly)
Returns the value of attribute composers.
19 20 21 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 19 def composers @composers end |
#hpma ⇒ Object (readonly)
Returns the value of attribute hpma.
20 21 22 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 20 def hpma @hpma end |
#itunes_links ⇒ Object (readonly)
Returns the value of attribute itunes_links.
21 22 23 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 21 def itunes_links @itunes_links end |
#lyric_links ⇒ Object (readonly)
Returns the value of attribute lyric_links.
21 22 23 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 21 def lyric_links @lyric_links end |
#lyricists ⇒ Object (readonly)
Returns the value of attribute lyricists.
19 20 21 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 19 def lyricists @lyricists end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
18 19 20 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 18 def name @name end |
#name_romaji ⇒ Object (readonly)
Returns the value of attribute name_romaji.
18 19 20 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 18 def name_romaji @name_romaji end |
#nicknames ⇒ Object (readonly)
Returns the value of attribute nicknames.
18 19 20 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 18 def nicknames @nicknames end |
#play_time ⇒ Object (readonly)
Returns the value of attribute play_time.
18 19 20 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 18 def play_time @play_time end |
#youtube_links ⇒ Object (readonly)
Returns the value of attribute youtube_links.
21 22 23 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 21 def youtube_links @youtube_links end |
Instance Method Details
#cover? ⇒ Boolean
28 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 28 def cover?; false; end |
#get_lyrics(site = nil) ⇒ Object
31 32 33 34 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 31 def get_lyrics(site=nil) return nil unless self.lyric_links Acme::Smileage::Discography::LyricsDownloader.new.get(self.lyric_links, site) end |
#remix? ⇒ Boolean
29 |
# File 'lib/acme/smileage/discography/tracks/base.rb', line 29 def remix?; false; end |