Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/util.rb
Instance Method Summary collapse
Instance Method Details
#full_match(re) ⇒ Object
35 36 37 38 |
# File 'lib/util.rb', line 35 def full_match(re) m = re.match(self) m && (m.begin(0) == 0) && (m.end(0) == self.length) end |