Class: Jinx::Resource::ReferencePrinter

Inherits:
Object
  • Object
show all
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

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