Sha256: a726c4df23473e53db832641975672e6beeac5776b89837adf05462251c5bfec

Contents?: true

Size: 225 Bytes

Versions: 1

Compression:

Stored size: 225 Bytes

Contents

module PairSee
  class Person

    attr_reader :display_name
    attr_reader :names

    def initialize(names)
      @names = names
      @display_name = names.first
    end

    def to_s
      display_name
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pair_see-0.1.5 lib/pair_see/person.rb