Class: Module

Inherits:
Object
  • Object
show all
Defined in:
lib/comable/deprecator.rb

Instance Method Summary collapse

Instance Method Details

#deprecate_with_deprecator(*method_names) ⇒ Object


18
19
20
21
22
# File 'lib/comable/deprecator.rb', line 18

def deprecate_with_deprecator(*method_names)
  options = method_names.extract_options!
  options.delete(:deprecator) if options.present?
  deprecate_without_deprecator
end