Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/copyright_author.rb
Instance Method Summary collapse
Instance Method Details
#starts_with?(s) ⇒ Boolean
46 47 48 |
# File 'lib/copyright_author.rb', line 46 def starts_with?(s) self[0..s.length-1] == s end |