Class: Gluttonberg::Library::String
- Inherits:
-
Object
- Object
- Gluttonberg::Library::String
- Defined in:
- lib/gluttonberg/library/quick_magick.rb,
lib/gluttonberg/library/quick_magick.rb
Instance Method Summary collapse
Instance Method Details
#end_with?(x) ⇒ Boolean
194 195 196 |
# File 'lib/gluttonberg/library/quick_magick.rb', line 194 def end_with?(x) self.index(x) == self.length - 1 end |
#start_with?(x) ⇒ Boolean
186 187 188 |
# File 'lib/gluttonberg/library/quick_magick.rb', line 186 def start_with?(x) self.index(x) == 0 end |