Class: Jinx::Resource::ReferencePrinter
- Extended by:
- Forwardable
- Defined in:
- lib/jinx/resource.rb
Overview
A ReferencePrinter formats a reference domain object value for printing with just the class and Ruby object_id.
Instance Method Summary collapse
-
#initialize(base) ⇒ ReferencePrinter
constructor
Creates a ReferencePrinter on the base object.
Constructor Details
#initialize(base) ⇒ ReferencePrinter
Creates a ReferencePrinter on the base object.
800 801 802 |
# File 'lib/jinx/resource.rb', line 800 def initialize(base) @base = base end |