lib/everyday-cli-utils/override.rb in everyday-cli-utils-1.8.0 vs lib/everyday-cli-utils/override.rb in everyday-cli-utils-1.8.1
- old
+ new
@@ -52,11 +52,11 @@
def create_method(name, &block)
self.send(:define_method, name, &block)
end
def overrides
- (@overrides && @overrides.get(self)) || self.class.overrides(self)
+ (@overrides && @overrides.get(self)) || self.class.class_overrides(self)
end
def true_overrides
@overrides
end
@@ -76,10 +76,10 @@
self.create_method(method_name.to_sym, &block)
}
end
class << self
- def overrides(s)
+ def class_overrides(s)
@overrides && @overrides.get(s)
end
def true_overrides
@overrides
\ No newline at end of file