Sha256: 6fc10787c6df86ec06f656abf077973f8f08511faea7e395e95cbbd2927ac4a9
Contents?: true
Size: 293 Bytes
Versions: 4
Compression:
Stored size: 293 Bytes
Contents
require 'active_record' module Murlsh # Enclosure ActiveRecord. class Enclosure < ActiveRecord::Base belongs_to :url # Title with whitespace compressed and leading and trailing whitespace # stripped. def title_stripped; title.to_s.strip.gsub(/\s+/, ' '); end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
murlsh-1.9.3 | lib/murlsh/enclosure.rb |
murlsh-1.9.2 | lib/murlsh/enclosure.rb |
murlsh-1.9.1 | lib/murlsh/enclosure.rb |
murlsh-1.9.0 | lib/murlsh/enclosure.rb |