Sha256: fb706dc737124b3c22ea85e2577760cb552fea54cd0e3b32b18da2acb80b6dbe
Contents?: true
Size: 599 Bytes
Versions: 11
Compression:
Stored size: 599 Bytes
Contents
module ScrewUnit module Resources class Root < Resources::Dir attr_accessor :configuration, :options def initialize(configuration) @configuration = configuration super("/", asset_manager) end def asset_manager configuration.asset_manager end def locate(path_fragment) case path_fragment when "specs" SpecDir.new("/specs", configuration.asset_manager) when "complete" SuiteCompletion.new(configuration.selenium_mode?) else super end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems