Sha256: 82e75dbb5fe1deb6312b07401c6032bfabf60f3d0b7c729369eeee158bd516f8
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
class Employee attr_accessor :first_name, :last_name, :age, :gender def initialize(f_name, l_name, age, gender) @first_name = f_name @last_name = l_name @age = age @gender = gender end def to_a [@first_name, @last_name, @age, @gender] end end class Shift attr_accessor :day, :name, :s_time, :e_time def initialize(day, name, s_time, e_time) @day = day @name = name @start_time = s_time @end_time = e_time end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pings_fast_track_gem-0.1.2 | lib/Class.rb |