Class: CallableTree::Node::Internal::Strategy::Broadcast
- Inherits:
-
Object
- Object
- CallableTree::Node::Internal::Strategy::Broadcast
- Includes:
- CallableTree::Node::Internal::Strategy
- Defined in:
- lib/callable_tree/node/internal/strategy/broadcast.rb
Instance Method Summary collapse
Methods included from CallableTree::Node::Internal::Strategy
Instance Method Details
#call(nodes, *inputs, **options) ⇒ Object
10 11 12 13 14 |
# File 'lib/callable_tree/node/internal/strategy/broadcast.rb', line 10 def call(nodes, *inputs, **) nodes.map do |node| node.call(*inputs, **) if node.match?(*inputs, **) end end |