Class: Gem::SafeMarshal::Visitors::Visitor
- Inherits:
-
Object
- Object
- Gem::SafeMarshal::Visitors::Visitor
- Defined in:
- lib/rubygems/safe_marshal/visitors/visitor.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#visit(target) ⇒ Object
5 6 7 |
# File 'lib/rubygems/safe_marshal/visitors/visitor.rb', line 5 def visit(target) send DISPATCH.fetch(target.class), target end |