Class: Image
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Image
- Includes:
- DynamicImage::Model, PagesCore::Sweepable
- Defined in:
- app/models/image.rb
Instance Attribute Summary
Attributes included from PagesCore::Sweepable
Instance Method Summary collapse
Instance Method Details
#byline ⇒ Object
14 15 16 17 |
# File 'app/models/image.rb', line 14 def ActiveSupport::Deprecation.warn "Image#byline is deprecated, use #caption" end |
#byline=(new_caption) ⇒ Object
24 25 26 27 |
# File 'app/models/image.rb', line 24 def () ActiveSupport::Deprecation.warn "Image#byline= is deprecated, use #caption=" self. = end |
#byline? ⇒ Boolean
19 20 21 22 |
# File 'app/models/image.rb', line 19 def ActiveSupport::Deprecation.warn "Image#byline? is deprecated, use #caption?" end |