Module: Parser::Deprecation Private
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Extended In:
| |
| Defined in: | lib/rubocop/ast/vendor/parser/deprecation.rb |
Instance Attribute Summary
- #warned_of_deprecation=(value) writeonly Internal use only
Instance Method Summary
- #warn_of_deprecation Internal use only
Instance Attribute Details
#warned_of_deprecation=(value) (writeonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/deprecation.rb', line 8
attr_writer :warned_of_deprecation
Instance Method Details
#warn_of_deprecation
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/deprecation.rb', line 9
def warn_of_deprecation @warned_of_deprecation ||= warn(self::DEPRECATION_WARNING) || true end