Class: Protobuf::FieldDeprecation

Inherits:
DeprecationBase
  • Object
show all
Defined in:
lib/protobuf/deprecation.rb

Instance Method Summary collapse

Methods inherited from DeprecationBase

#deprecate_methods, #deprecation_warning

Instance Method Details

#deprecate_method(target_module, method_name) ⇒ Object

this is a convenience deprecator for deprecated proto fields



39
40
41
# File 'lib/protobuf/deprecation.rb', line 39

def deprecate_method(target_module, method_name)
  deprecate_methods(target_module, method_name => target_module)
end