Sha256: 706836f7eeee62bfff86aebaae7ce97093787196d73065cc31bf071b274ab4a8
Contents?: true
Size: 494 Bytes
Versions: 8
Compression:
Stored size: 494 Bytes
Contents
class JasmineNodeConfig def initialize(dir, json, file) @config_path = dir + '/jasmine.conf' @json = json @file = file end def config_path return @config_path end def reload contents = File.open(@config_path, 'r') { |f| f.read } @config = @json.parse contents end def source_dir return @config["sourceDirectory"] end def spec_dir return @config["specDirectory"] end def requires return @config["requires"] end end
Version data entries
8 entries across 8 versions & 1 rubygems