Class: Murlsh::Enclosure
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Murlsh::Enclosure
- Defined in:
- lib/murlsh/enclosure.rb
Overview
Enclosure ActiveRecord.
Instance Method Summary collapse
-
#title_stripped ⇒ Object
Title with whitespace compressed and leading and trailing whitespace stripped.
Instance Method Details
#title_stripped ⇒ Object
Title with whitespace compressed and leading and trailing whitespace stripped.
11 |
# File 'lib/murlsh/enclosure.rb', line 11 def title_stripped; title.to_s.strip.gsub(/\s+/, ' '); end |