Class: WebpageArchivist::Stylesheet
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- WebpageArchivist::Stylesheet
- Includes:
- WebpageElement
- Defined in:
- lib/webpage-archivist/models.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from WebpageElement
Methods included from ElementWithContent
Class Method Details
.extention(uri, content_type) ⇒ Object
191 192 193 |
# File 'lib/webpage-archivist/models.rb', line 191 def self.extention uri, content_type '.css' end |
Instance Method Details
#extension=(extension) ⇒ Object
195 196 197 |
# File 'lib/webpage-archivist/models.rb', line 195 def extension= extension # do nothing end |
#file_name ⇒ Object
187 188 189 |
# File 'lib/webpage-archivist/models.rb', line 187 def file_name "#{file_hash}.css" end |