Class: Murlsh::Enclosure

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/murlsh/enclosure.rb

Overview

Enclosure ActiveRecord.

Instance Method Summary collapse

Instance Method Details

#title_strippedObject

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