Sha256: dabc4b2779583ac2dcdefdc37bc9b6a9540c386f4a55172e734fd6f5565b3773
Contents?: true
Size: 483 Bytes
Versions: 2
Compression:
Stored size: 483 Bytes
Contents
# All code in the gem is namespaced under this module. module CoderWally # Stores all CoderWall attributes class CoderWall # :badges is the collection of user badges # :user is the `User` object # :accounts is the `Account` object attr_reader :badges, :user, :accounts # Instantiate the class with data def initialize(badges, user, accounts) @badges = badges @user = user @accounts = accounts end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coder_wally-0.1.0 | lib/coder_wally/coder_wall.rb |
coder_wally-0.0.7 | lib/coder_wally/coder_wall.rb |