Method: Cloudify::Invalidator.<<

Defined in:
lib/cloudify/invalidator.rb

.<<(path) ⇒ Object

Raises:

  • (ArgumentError)


14
15
16
17
18
# File 'lib/cloudify/invalidator.rb', line 14

def @paths.<< path
  raise ArgumentError unless path.kind_of? String
  return self if self.include?(path)
  super
end