Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/pho.rb
Instance Method Summary collapse
Instance Method Details
#start_with?(prefix) ⇒ Boolean
37 38 39 |
# File 'lib/pho.rb', line 37 def start_with?(prefix) self.index(prefix) == 0 end |