Class: Image
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- 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
10 11 12 13 |
# File 'app/models/image.rb', line 10 def ActiveSupport::Deprecation.warn "Image#byline is deprecated, use #caption" end |
#byline=(new_caption) ⇒ Object
20 21 22 23 |
# File 'app/models/image.rb', line 20 def () ActiveSupport::Deprecation.warn "Image#byline= is deprecated, use #caption=" self. = end |
#byline? ⇒ Boolean
15 16 17 18 |
# File 'app/models/image.rb', line 15 def ActiveSupport::Deprecation.warn "Image#byline? is deprecated, use #caption?" end |