Skip to content

Commit

Permalink
get rid of match-bool cheat
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Jul 13, 2010
1 parent ae4538a commit f0dbe32
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
1 change: 0 additions & 1 deletion build/Makefile.in
Expand Up @@ -223,7 +223,6 @@ CORE_SOURCES = \
src/core/Grammar.pm \
src/core/Substitution.pm \
src/core/system.pm \
src/cheats/match-bool.pm \
src/cheats/process.pm \
src/core/Date.pm \
src/core/Temporal.pm \
Expand Down
8 changes: 0 additions & 8 deletions src/cheats/match-bool.pm

This file was deleted.

7 changes: 7 additions & 0 deletions src/core/Match.pm
Expand Up @@ -19,6 +19,13 @@ class Match is Regex::Match is Cool does Positional does Associative {
~self.Regex::Match::Str;
}

method Bool() {
$.from < $.to;
}

method defined() {
$.from < $.to;
}

method at_key($key) {
Q:PIR {
Expand Down

0 comments on commit f0dbe32

Please sign in to comment.