with_indentation(&block)
Manage Gemfile indentation for a DSL action block
# File railties/lib/rails/generators/actions.rb, line 373 def with_indentation(&block) # :doc: @indentation += 1 instance_eval(&block) ensure @indentation -= 1 end