Class: Pageflow::Widget::Resolver
- Inherits:
-
Struct
- Object
- Struct
- Pageflow::Widget::Resolver
- Defined in:
- app/models/pageflow/widget.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config
41 42 43 |
# File 'app/models/pageflow/widget.rb', line 41 def config @config end |
#options ⇒ Object
Returns the value of attribute options
41 42 43 |
# File 'app/models/pageflow/widget.rb', line 41 def @options end |
Instance Method Details
#result ⇒ Object
42 43 44 45 46 |
# File 'app/models/pageflow/widget.rb', line 42 def result (all).select do || .enabled?() end end |