Files
cookbook-pacemaker/libraries/pacemaker/constraint
Adam Spiers 35bc3a4ceb refer to TYPE via self.class to allow inheritance
When referring to TYPE directly, the value is taken from the class in
which the method is defined, but we want it to be taken from the class
for the object being acted on, so we instead use self.class::TYPE to
ensure that methods still work in inherited subclasses.  For example
this means that Pacemaker::Resource::MasterSlave will be able to inherit
from Pacemaker::Resource::Clone.
2014-03-16 10:28:47 +00:00
..