Class: Mittsu::FileLoader
- Inherits:
-
Object
- Object
- Mittsu::FileLoader
- Defined in:
- lib/mittsu/loaders/file_loader.rb
Instance Method Summary collapse
-
#initialize(manager = nil) ⇒ FileLoader
constructor
A new instance of FileLoader.
- #load(url) ⇒ Object
Constructor Details
#initialize(manager = nil) ⇒ FileLoader
Returns a new instance of FileLoader.
3 4 5 |
# File 'lib/mittsu/loaders/file_loader.rb', line 3 def initialize(manager = nil) @manager = manager || DefaultLoadingManager end |