Class: KnowledgeFigureBackup
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- KnowledgeFigureBackup
- Defined in:
- app/models/knowledge_figure_backup.rb
Instance Method Summary collapse
Instance Method Details
#__image__ ⇒ Object
7 |
# File 'app/models/knowledge_figure_backup.rb', line 7 alias :__image__ :image |
#image ⇒ Object
8 9 10 11 12 |
# File 'app/models/knowledge_figure_backup.rb', line 8 def image image = __image__ raise("#{path} is a GPhys, not a figure.") if image.gphysizable? image end |