module FakeTree
Constants
- VERSION
Public Class Methods
start!(path_to_yaml)
click to toggle source
# File lib/faketree/base.rb, line 2 def self.start!(path_to_yaml) tree_hash = YAML.load(File.read(path_to_yaml)) FakeFS.activate! FakeTree::Runner.new.start(tree_hash) end
stop!()
click to toggle source
# File lib/faketree/base.rb, line 9 def self.stop! FakeFS.deactivate! end