lib/unparser/emitter.rb in unparser-0.2.5 vs lib/unparser/emitter.rb in unparser-0.2.6
- old
+ new
@@ -8,11 +8,11 @@
include Adamantium::Flat, AbstractType, Constants, NodeHelpers
include Concord.new(:node, :parent)
extend DSL
# Registry for node emitters
- REGISTRY = {}
+ REGISTRY = {} # rubocop:disable MutableConstant
NOINDENT = [:rescue, :ensure].to_set.freeze
DEFAULT_DELIMITER = ', '.freeze
@@ -426,10 +426,10 @@
#
# @api private
#
# False positive:
#
- # rubocop:disable MethodCallParentheses
+ # rubocop:disable MethodCallWithoutArgsParentheses
#
def indented
buffer = buffer()
buffer.indent
nl