Module: Shoutcast::Xml::ClassMethods
- Defined in:
- lib/shoutcast_api.rb
Instance Method Summary collapse
-
#trim ⇒ Object
Strip whitespaces.
Instance Method Details
#trim ⇒ Object
Strip whitespaces.
85 86 87 |
# File 'lib/shoutcast_api.rb', line 85 def trim proc { |v| v.to_s.strip.squeeze(" ") } end |