Sha256: fb27689ff0dff612c40de942062048f302337c3b2c52440628af0caa8f8fbafe
Contents?: true
Size: 212 Bytes
Versions: 2
Compression:
Stored size: 212 Bytes
Contents
module Rubiks class Hierarchy attr_accessor :name attr_reader :levels def initialize(name) @name = name @levels = [] end def level(name) levels << name end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubiks-0.0.3 | lib/rubiks/hierarchy.rb |
rubiks-0.0.2 | lib/rubiks/hierarchy.rb |