Class: TimestampedArticle

Inherits:
Article show all
Defined in:
lib/nibbler.rb

Instance Method Summary collapse

Methods inherited from Nibbler

#initialize

Methods included from NibblerMethods

#element, #elements, extended, #parse, #rules

Constructor Details

This class inherits a constructor from Nibbler

Instance Method Details

#published_dateObject



147
148
149
# File 'lib/nibbler.rb', line 147

def published_date
  @date ||= Date.parse published
end