Module: Qwirk::MarshalStrategy::None
Overview
Should only be used with InMemory strategy
Instance Method Summary collapse
Instance Method Details
#marshal(object) ⇒ Object
15 16 17 |
# File 'lib/qwirk/marshal_strategy/none.rb', line 15 def marshal(object) object end |
#marshal_type ⇒ Object
7 8 9 |
# File 'lib/qwirk/marshal_strategy/none.rb', line 7 def marshal_type :bytes end |
#to_sym ⇒ Object
11 12 13 |
# File 'lib/qwirk/marshal_strategy/none.rb', line 11 def to_sym :none end |
#unmarshal(msg) ⇒ Object
19 20 21 |
# File 'lib/qwirk/marshal_strategy/none.rb', line 19 def unmarshal(msg) msg end |