class Object
Public Instance Methods
Source
# File lib/rubocop-rspec.rb, line 44 def autocorrect_incompatible_with super.push(RuboCop::Cop::RSpec::AlignLeftLetBrace) .push(RuboCop::Cop::RSpec::AlignRightLetBrace) end
Calls superclass method
Source
# File lib/rubocop/rspec/shared_contexts/default_rspec_language_config_context.rb, line 19 def deep_dup(object) case object when Array object.map { |item| deep_dup(item) } when Hash object.transform_values { |value| deep_dup(value) } else object # only collections undergo modifications and need duping end end