Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (19 sloc) 0.44 kb
#ifndef RBX_ENVIRONMENT_HPP
#define RBX_ENVIRONMENT_HPP
#include <string>
#include <stdexcept>
#include "vm.hpp"
namespace rubinius {
class Environment {
public:
VM* state;
Environment();
~Environment();
void load_argv(int argc, char** argv);
void load_directory(std::string dir);
void load_platform_conf(std::string dir);
void run_file(std::string path);
void enable_preemption();
};
}
#endif
Jump to Line
Something went wrong with that request. Please try again.