Sha256: 40e9439ba849d2fd412adff48c46501677ae7de933dc300aac11c8f05d70cb95
Contents?: true
Size: 225 Bytes
Versions: 2
Compression:
Stored size: 225 Bytes
Contents
module VNS class Person attr_reader :id, :name, :group def initialize(id, name, group) @id = id @name = name @group = group end def to_s "#{id}\t#{name} (#{group})" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vns-1.0.pre.rc.2 | lib/vns/person.rb |
vns-1.0.pre.rc.1 | lib/vns/person.rb |