class BuildSpecRunner::SourceProvider::FolderSourceProvider

A {SourceProvider} that provides the source by simply taking a file path.

Attributes

path[R]

@!attribute [r] path

@return [String] the path to the project source. Can be relative or absolute.

Public Class Methods

new(path) click to toggle source
# File lib/build_spec_runner/source_provider.rb, line 21
def initialize path
  @path = File.expand_path(path).freeze
end