Class: Symbol
Instance Method Summary collapse
Instance Method Details
#ends_with?(str) ⇒ Boolean
12 13 14 |
# File 'lib/iron/extensions/symbol.rb', line 12 def ends_with?(str) self.to_s.ends_with?(str) end |
#starts_with?(str) ⇒ Boolean
8 9 10 |
# File 'lib/iron/extensions/symbol.rb', line 8 def starts_with?(str) self.to_s.starts_with?(str) end |
#to_dashcase ⇒ Object
3 4 5 |
# File 'lib/iron/extensions/symbol.rb', line 3 def to_dashcase self.to_s.to_dashcase end |