Exception: SplitIoClient::LocalhostSplitFactoryBuilder

Inherits:
NoMethodError
  • Object
show all
Defined in:
lib/splitclient-rb/localhost_split_factory_builder.rb

Class Method Summary collapse

Class Method Details

.build(directory) ⇒ Object



3
4
5
6
# File 'lib/splitclient-rb/localhost_split_factory_builder.rb', line 3

def self.build(directory)
  splits_file = File.join(directory, ".split")
  LocalhostSplitFactory.new(splits_file)
end

.build_from_path(path) ⇒ Object



8
9
10
11
# File 'lib/splitclient-rb/localhost_split_factory_builder.rb', line 8

def self.build_from_path(path)
  splits_file = File.join(path)
  LocalhostSplitFactory.new(splits_file)
end