I thought it was possible to define attr_accessor methods in a eigenclass like this:
class IOS
@@modules_paths = "hello"
class << self
attr_accessor :modules_paths
end
end
puts IOS::modules_paths
But this returns nothing.
Is there a way to do it?