Method: Mascot::ResourceCollection#initialize
- Defined in:
- lib/mascot/resource_collection.rb
#initialize(node:, root_path: ".") ⇒ ResourceCollection
Returns a new instance of ResourceCollection.
14 15 16 17 |
# File 'lib/mascot/resource_collection.rb', line 14 def initialize(node: , root_path: ".") @node = node @root_path = Pathname.new(root_path) end |