Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions corelib/match_data.rb
Original file line number Diff line number Diff line change
@@ -31,9 +31,9 @@ def begin(pos)
if (pos == 0 || pos == 1) {
return self._begin;
}
#{raise ArgumentError, 'MatchData#begin only supports 0th element'};
}

raise ArgumentError, 'MatchData#begin only supports 0th element'
end

def captures

0 comments on commit 77b6f82

Please sign in to comment.