123456789_123456789_123456789_123456789_123456789_

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

Instance Method Summary

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