Sha256: 7b51049a43714779e45ea03cf86aa1398d89786a16c23c70ce3706e61471379e

Contents?: true

Size: 179 Bytes

Versions: 4

Compression:

Stored size: 179 Bytes

Contents

class FortuneTeller::Horoscope
    attr_accessor :name, :date, :content
    @@all = []

    def initialize
      @@all << self
    end

    def self.all
      @@all
    end
  end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fortune_teller_iraq-0.1.3 lib/fortune_teller/horoscope.rb
fortune_teller_iraq-0.1.2 lib/fortune_teller/horoscope.rb
fortune_teller_iraq-0.1.1 lib/fortune_teller/horoscope.rb
fortune_teller_iraq-0.1.0 lib/fortune_teller/horoscope.rb