Module: Kadmin::Presentable::ClassMethods
- Defined in:
- lib/kadmin/presentable.rb
Instance Method Summary collapse
Instance Method Details
#presenter_class ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/kadmin/presentable.rb', line 8 def presenter_class return @presenter_class ||= begin self::Presenter rescue NameError nil end end |
#presenter_class=(klass) ⇒ Object
16 17 18 |
# File 'lib/kadmin/presentable.rb', line 16 def presenter_class=(klass) @presenter_class = klass end |