Sha256: 09b31809b3921a3706ee6bde929c5c5c2b063ff928ea85eaa33917e83ef03df4
Contents?: true
Size: 370 Bytes
Versions: 1
Compression:
Stored size: 370 Bytes
Contents
class OrlandoEvents::MonthEvents attr_accessor :date, :event_title, :event_location, :month @@all = [] def initialize(months_hash, month) months_hash.each do |k, v| self.send "#{k}=", v end self.month = month @@all << self end def month=(month) @month = month month.add_events(self) end def self.all @@all end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
orlando_events-0.1.5 | lib/orlando_events/month_events.rb |