Class: DidYouMean::Experimental::IvarNameCheckerBuilder
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/did_you_mean/experimental/ivar_name_correction.rb |
Class Method Summary
- .new(original_checker) ⇒ IvarNameCheckerBuilder constructor
Instance Attribute Summary
- #original_checker readonly
Instance Method Summary
Constructor Details
.new(original_checker) ⇒ IvarNameCheckerBuilder
# File 'lib/did_you_mean/experimental/ivar_name_correction.rb', line 10
def initialize(original_checker) #:nodoc: @original_checker = original_checker end
Instance Attribute Details
#original_checker (readonly)
[ GitHub ]# File 'lib/did_you_mean/experimental/ivar_name_correction.rb', line 8
attr_reader :original_checker
Instance Method Details
#new(no_method_error)
[ GitHub ]# File 'lib/did_you_mean/experimental/ivar_name_correction.rb', line 14
def new(no_method_error) #:nodoc: IvarNameChecker.new(no_method_error, original_checker: @original_checker) end