Sha256: ba18905160c112a2000cec86f71336c0737a004a148d6728b477eab19eca408f

Contents?: true

Size: 232 Bytes

Versions: 1

Compression:

Stored size: 232 Bytes

Contents

class YogaPose 
  attr_accessor :name, :description
  
  @@all = []
  
  def initialize(name=nil, description=nil) 
    @name = name 
    @description = description 
    @@all << self
  end 
  
  def self.all
    @@all
  end
end
  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stress_release_yoga-0.1.0 lib/yoga_poses.rb