Sha256: bcea83bb80102ad4a6ec05d8f8cc06acbfc27c46cc4d28ebe47a6409e326f011
Contents?: true
Size: 207 Bytes
Versions: 3
Compression:
Stored size: 207 Bytes
Contents
class Fish attr_accessor :name, :description @@all = [] def initialize(name, description) @name = name @@all << self @description = description end def self.all @@all end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fish_finder-0.1.3 | lib/fish_finder/fish.rb |
fish_finder-0.1.2 | lib/fish_finder/fish.rb |
fish_finder-0.1.0 | lib/fish_finder/fish.rb |