1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/ext/v8/date.h
2015-07-30 21:15:10 +03:00

18 lines
348 B
C++

// -*- mode: c++ -*-
#ifndef RR_DATE_H
#define RR_DATE_H
namespace rr {
class Date : public Ref<v8::Date> {
public:
Date(v8::Isolate* isolate, v8::Local<v8::Date> date) :
Ref<v8::Date>(isolate, date) {}
static void Init() {
ClassBuilder("Date", Object::Class).
store(&Class);
};
};
}
#endif /* RR_DATE_H */