Class: Pageflow::PositionedFile::Null
Instance Attribute Summary
#file, #position_x, #position_y
Instance Method Summary
collapse
#==, null, #to_model, wrap
Constructor Details
#initialize ⇒ 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.attachment.url(*args)
end
|