T
Timothy Goddard
Note that in Ruby a 'constant' is not actually constant. This is
perfectly legal code if you fill in the class contents:
class ClassA
...
end
class ClassB
...
end
def switch_classes
ClassA, ClassB = ClassB, ClassA
end
Good luck getting an IDE to track the state of this. Ruby is simply too
dynamic a language to be modelled effectively without executing it.
perfectly legal code if you fill in the class contents:
class ClassA
...
end
class ClassB
...
end
def switch_classes
ClassA, ClassB = ClassB, ClassA
end
Good luck getting an IDE to track the state of this. Ruby is simply too
dynamic a language to be modelled effectively without executing it.