Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/rp_extensions.rb

Overview

:stopdoc:

Instance Method Summary collapse

Instance Method Details

#end_with?(o) ⇒ Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/rp_extensions.rb', line 23

def end_with? o
  self.to_s.end_with? o
end