We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a05ca0 commit e4c8dfdCopy full SHA for e4c8dfd
lib/syntax_tree/prism/prettier_print.rb
@@ -173,7 +173,7 @@ def type
173
class Indent
174
attr_reader :contents
175
176
- def initialize(contents: [])
+ def initialize(contents)
177
@contents = contents
178
end
179
@@ -824,7 +824,7 @@ def if_flat
824
# node are determined by the block.
825
def indent
826
contents = []
827
- doc = Indent.new(contents: contents)
+ doc = Indent.new(contents)
828
target << doc
829
830
with_target(contents) { yield }
0 commit comments