Method: Murlsh::Url#title
- Defined in:
- lib/murlsh/url.rb
#title ⇒ Object
Get the title of this url.
13 14 15 16 17 18 19 20 21 |
# File 'lib/murlsh/url.rb', line 13 def title ta = read_attribute(:title) ta = nil if ta and ta.empty? ua = read_attribute(:url) ua = nil if ua and ua.empty? ta || ua || 'title missing' end |