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