Sha256: 3a1b8c11759ef877d3cfe62ab956868685a49f6b5792955d71a203d5efcf7b0f
Contents?: true
Size: 282 Bytes
Versions: 24
Compression:
Stored size: 282 Bytes
Contents
class Rad::Conveyors def initialize @hash = {} end def [] conveyor_name @hash[conveyor_name.to_s] ||= Conveyor.new end def size; @hash.size end def method_missing m, &block if block block.call self[m] else self[m] end end end
Version data entries
24 entries across 24 versions & 1 rubygems