Given this example:
class Pepe
def self.test
# this is a instance variable of a class
@klass_var = 123
end
def instance_method
# here self is an instance of Pepe, @@klass_var is the same than previous @klass_var ?
@@klass_var
end
end
Why @@klass_var
is not the same?