summaryrefslogblamecommitdiffstats
path: root/lib/member.rb
blob: c67915a193825a4beed5c720e33a3d9844e17e0a (plain) (tree)
1
2
3
4
5
6
7
8
9








                                      
class Member
  attr_reader :name, :instrument, :age

  def initialize(params)
    @name = params['name']
    @instrument = params['instrument']
    @age = params['age'].to_i
  end
end