load_state

in libraries/helpers.rb [48:54]


      def load_state(agent_name)
        state_file = state_file(agent_name)
        return unless ::File.exist?(state_file)
        state = ::File.read(state_file(agent_name))
        JSON.parse(state)
      end