123456789_123456789_123456789_123456789_123456789_

Module: RSpec::Core::HashImitatable::ClassMethods Private

Do not use. This module is for internal use only.
Relationships & Source Files
Defined in: rspec-core/lib/rspec/core/metadata.rb

Instance Method Summary

Instance Method Details

#attr_accessor(*names)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/metadata.rb', line 440

def attr_accessor(*names)
  hash_attribute_names.concat(names)
  super
end

#hash_attribute_names

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/metadata.rb', line 436

def hash_attribute_names
  @hash_attribute_names ||= []
end