Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/rupy/core_ext/string.rb
Instance Method Summary collapse
Instance Method Details
#end_with?(c) ⇒ Boolean
4 5 6 |
# File 'lib/rupy/core_ext/string.rb', line 4 def end_with?(c) self[-1].chr == c end |