Ruby membuat objek dengan atribut

class MyObject
  attr_accessor :attribute1, :attribute2, :attribute3
end

test_object = MyObject.new
test_object.attribute1 = "Holy cow!"
I got 99 problems but a bug aint one!