Class: Protobuf::FieldDeprecation
- Inherits:
-
DeprecationBase
- Object
- ActiveSupport::Deprecation
- DeprecationBase
- Protobuf::FieldDeprecation
- Defined in:
- lib/protobuf/deprecation.rb
Instance Method Summary collapse
-
#deprecate_method(target_module, method_name) ⇒ Object
this is a convenience deprecator for deprecated proto fields.
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
40 41 42 |
# File 'lib/protobuf/deprecation.rb', line 40 def deprecate_method(target_module, method_name) deprecate_methods(target_module, method_name => target_module) end |