Class: ObjectLoader::PendingObject
- Inherits:
-
Hash
- Object
- Hash
- ObjectLoader::PendingObject
- Defined in:
- lib/object_loader/pending_object.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
The path being loaded.
Instance Method Summary collapse
-
#initialize(path) ⇒ PendingObject
constructor
Creates a new PendingObject object.
Constructor Details
#initialize(path) ⇒ PendingObject
Creates a new ObjectLoader::PendingObject object.
13 14 15 16 17 |
# File 'lib/object_loader/pending_object.rb', line 13 def initialize(path) @path = File.(path) super() end |
Instance Attribute Details
#path ⇒ Object (readonly)
The path being loaded
5 6 7 |
# File 'lib/object_loader/pending_object.rb', line 5 def path @path end |