Class: Pageflow::PositionedFile::Null
- Inherits:
-
Pageflow::PositionedFile
- Object
- Pageflow::PositionedFile
- Pageflow::PositionedFile::Null
- Defined in:
- app/models/pageflow/positioned_file.rb
Instance Attribute Summary
Attributes inherited from Pageflow::PositionedFile
#file, #position_x, #position_y
Instance Method Summary collapse
- #blank? ⇒ Boolean
-
#initialize ⇒ Null
constructor
A new instance of Null.
- #thumbnail_url(*args) ⇒ Object
Methods inherited from Pageflow::PositionedFile
Constructor Details
#initialize ⇒ Null
Returns a new instance of Null.
33 34 35 |
# File 'app/models/pageflow/positioned_file.rb', line 33 def initialize super(nil) end |
Instance Method Details
#blank? ⇒ Boolean
41 42 43 |
# File 'app/models/pageflow/positioned_file.rb', line 41 def blank? true end |
#thumbnail_url(*args) ⇒ Object
37 38 39 |
# File 'app/models/pageflow/positioned_file.rb', line 37 def thumbnail_url(*args) ImageFile.new..url(*args) end |