lib/voom/presenters/dsl/components/mixins/selects.rb in voom-presenters-2.0.3 vs lib/voom/presenters/dsl/components/mixins/selects.rb in voom-presenters-2.1.0
- old
+ new
@@ -6,9 +6,15 @@
module Selects
def select(**attribs, &block)
self << Components::Select.new(parent: self,
**attribs, &block)
end
+
+ def multi_select(**attribs, &block)
+ self << Components::MultiSelect.new(parent: self,
+ **attribs, &block)
+ end
+
end
end
end
end
end