Module: RSpec::Mocks::Serialization
- Defined in:
- lib/rspec/mocks/serialization.rb
Defined Under Namespace
Modules: YAML
Class Method Summary collapse
Class Method Details
.fix_for(object) ⇒ Object
6 7 8 |
# File 'lib/rspec/mocks/serialization.rb', line 6 def self.fix_for(object) object.extend(YAML) if defined?(::YAML) end |