Sha256: 28638c8b67bb7d2ffbd937862afbfa8327fbce36c853c530c18f05ef2a3a2ace
Contents?: true
Size: 290 Bytes
Versions: 9
Compression:
Stored size: 290 Bytes
Contents
module ArrayLogic # Basic object used in testing class Thing attr_accessor :id def initialize(number) @id = number end def self.make(number) things = Hash.new (1..number).each{|n| things[n] = new(n)} return things end end end
Version data entries
9 entries across 9 versions & 1 rubygems