Skip to content

Commit

Permalink
Cheat for Match.Bool.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 6, 2010
1 parent 861695b commit 253ce4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/Makefile.in
Expand Up @@ -180,6 +180,7 @@ CORE_SOURCES = \
src/core/IO.pm \
src/core/Parameter.pm \
src/core/Block.pm \
src/cheats/match-bool.pm \
src/cheats/setup-io.pm \

# SETTING = \
Expand Down
5 changes: 5 additions & 0 deletions src/cheats/match-bool.pm
@@ -0,0 +1,5 @@
INIT {
Regex::Match.^add_method('Bool', method () {
self.to >= self.from
});
}

0 comments on commit 253ce4b

Please sign in to comment.