Class: Basic101::Reference
- Inherits:
-
Object
- Object
- Basic101::Reference
- Includes:
- Identity
- Defined in:
- lib/basic101/reference.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(identifier) ⇒ Reference
constructor
A new instance of Reference.
- #input(input_reader) ⇒ Object
Methods included from Identity
Constructor Details
#initialize(identifier) ⇒ Reference
Returns a new instance of Reference.
11 12 13 |
# File 'lib/basic101/reference.rb', line 11 def initialize(identifier) @identifier = identifier end |
Instance Method Details
#input(input_reader) ⇒ Object
15 16 17 |
# File 'lib/basic101/reference.rb', line 15 def input(input_reader) @identifier.input(input_reader) end |