Method: Rpl#load_persisted_state!

Defined in:
lib/rpl.rb

#load_persisted_state!Object



28
29
30
31
32
33
34
35
# File 'lib/rpl.rb', line 28

def load_persisted_state!
  return if @persistence_filename.nil?

  FileUtils.mkdir_p( File.dirname( @persistence_filename ) )
  FileUtils.touch( @persistence_filename )

  run!( "\"#{@persistence_filename}\" feval" )
end