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