Class: Rspec::Bash::RubyStubMarshaller
- Inherits:
-
Object
- Object
- Rspec::Bash::RubyStubMarshaller
- Defined in:
- lib/rspec/bash/server/ruby_stub_marshaller.rb
Instance Method Summary collapse
Instance Method Details
#marshal(object_to_marshal) ⇒ Object
8 9 10 |
# File 'lib/rspec/bash/server/ruby_stub_marshaller.rb', line 8 def marshal(object_to_marshal) Marshal.dump(object_to_marshal) end |
#unmarshal(message_to_unmarshal) ⇒ Object
4 5 6 |
# File 'lib/rspec/bash/server/ruby_stub_marshaller.rb', line 4 def unmarshal() Marshal.load() end |