Class: ActiveStorage::Attached::One
- Inherits:
-
Object
- Object
- ActiveStorage::Attached::One
- Defined in:
- lib/rails_com/rails_ext/activestorage_attached.rb
Instance Method Summary collapse
Instance Method Details
#variant(transformations) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/rails_com/rails_ext/activestorage_attached.rb', line 21 def variant(transformations) if .variable? .variant(transformations) else self end end |