lib/rasn1/tracer.rb in rasn1-0.13.0 vs lib/rasn1/tracer.rb in rasn1-0.13.1
- old
+ new
@@ -73,12 +73,12 @@
end
# @private
# Unpatch {#do_parse} to remove tracing ability
def stop_tracing
- alias_method :do_parse, :do_parse_without_tracing # rubocop:disable Lint/DuplicateMethods
- alias_method :do_parse_explicit, :do_parse_explicit_without_tracing # rubocop:disable Lint/DuplicateMethods
+ alias_method :do_parse, :do_parse_without_tracing
+ alias_method :do_parse_explicit, :do_parse_explicit_without_tracing
end
end
# @private
# Parse +der+ with tracing abillity
@@ -106,11 +106,11 @@
end
# @private
# Unpatch {#parse!} to remove tracing ability
def stop_tracing
- alias_method :parse!, :parse_without_tracing # rubocop:disable Lint/DuplicateMethods
+ alias_method :parse!, :parse_without_tracing
end
end
# @private
# Parse +der+ with tracing abillity
@@ -131,11 +131,11 @@
end
# @private
# Unpatch {#der_to_value!} to remove tracing ability
def stop_tracing
- alias_method :der_to_value, :der_to_value_without_tracing # rubocop:disable Lint/DuplicateMethods
+ alias_method :der_to_value, :der_to_value_without_tracing
end
end
# @private
# der_to_value +der+ with tracing abillity
@@ -156,10 +156,10 @@
end
# @private
# Unpatch {#der_to_value!} to remove tracing ability
def stop_tracing
- alias_method :der_to_value, :der_to_value_without_tracing # rubocop:disable Lint/DuplicateMethods
+ alias_method :der_to_value, :der_to_value_without_tracing
end
end
# @private
# der_to_value +der+ with tracing abillity