Nirav Bhatu wrote in post #1089902:
I am shocked that we can change the value of constant in ruby!!
What about this:
class Dog def initialize(password) @secret = password end end
d = Dog.new("flower52") puts d.instance_eval("@secret")
--output:-- flower52