Sha256: 65e355767dceff51a8b8dd23fe3711b11c0271375070f4a582022489fd10bb2b
Contents?: true
Size: 393 Bytes
Versions: 1
Compression:
Stored size: 393 Bytes
Contents
class DutchTop40::Songs attr_accessor :title, :name, :listed, :last_weeks_rank @@songs = [] def initialize(title, name, listed, last_weeks_rank) @title = title @name = name @listed = listed @last_weeks_rank = last_weeks_rank @@songs << self end def self.list DutchTop40::Scraper.scrape_songs @@songs end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dutch_top40-0.1.3 | lib/dutch_top40/songs.rb |