Class: Pageflow::Widget::Resolver

Inherits:
Struct
  • Object
show all
Defined in:
app/models/pageflow/widget.rb

Instance Method Summary collapse

Instance Method Details

#resultObject



55
56
57
58
59
# File 'app/models/pageflow/widget.rb', line 55

def result
  assign_widget_types(all).select do |widget|
    widget.matches?(options)
  end
end