Sha256: ab64857b49f5e8e7ca8bbb0e982fcf9d92d7f3d283d8963959ee49950ba336e3

Contents?: true

Size: 448 Bytes

Versions: 2

Compression:

Stored size: 448 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
        
        # Initialise object with a hash of values
        def initialize(name, username, location, team)
          @name = name
          @username = username
          @location = location 
          @team = team
        end
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coder_wally-0.0.6 lib/coder_wally/user.rb
coder_wally-0.0.5 lib/coder_wally/user.rb