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
- #attr_accessor(*names) Internal use only
- #hash_attribute_names Internal use only
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