Sha256: 6bbed860807c48bd68d49e54288fcfb23947838b5e80bc2dc115a9e5a3340801
Contents?: true
Size: 516 Bytes
Versions: 2
Compression:
Stored size: 516 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coder_wally-0.1.0 | lib/coder_wally/user.rb |
coder_wally-0.0.7 | lib/coder_wally/user.rb |