Sha256: c204efaaddfc734bee703469a5787c4088932fef4a876ca7de64103e84183591

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

# All code in the gem is namespaced under this module.
module CoderWally
  # Stores user properties
  class User
    # Object properties
    attr_reader :name, :username, :location, :team, :endorsements

    # Initialise object with a hash of values
    def initialize(name, username, location, team, endorsements)
      @name = name
      @username = username
      @location = location
      @team = team
      @endorsements = endorsements
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
coder_wally-0.1.1 lib/coder_wally/user.rb