Class: JsonRefs::DereferenceHandler::File
- Inherits:
-
Object
- Object
- JsonRefs::DereferenceHandler::File
- Defined in:
- lib/json_refs/dereference_handler.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(options = {}) ⇒ File
constructor
A new instance of File.
Constructor Details
#initialize(options = {}) ⇒ File
Returns a new instance of File.
7 8 9 |
# File 'lib/json_refs/dereference_handler.rb', line 7 def initialize( = {}) @path = .fetch(:path) end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'lib/json_refs/dereference_handler.rb', line 11 def call JsonRefs::Loader.handle(@path) end |