Created
July 5, 2014 23:36
-
-
Save samuraisam/32cc2078f066847752c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
constant CURDIR = IO::Spec.splitpath($?FILE)[1]; | |
constant FN = IO::Spec.catdir(CURDIR, 'Proto', 'ql2_13x.proto'); | |
module RethinkDB::Proto { | |
# classes are generated here | |
use PB::Model::Generator FN; | |
} | |
BEGIN { | |
for RethinkDB::Proto::.kv -> \sym, \obj { | |
RethinkDB::Proto::{sym} := obj; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment