Skip to content

Commit 8445ecf

Browse files
committed
fix: fix typo in Strategizable#strategize
1 parent 52b3578 commit 8445ecf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## [Unreleased]
22

3+
- Fix a typo in `Strategizable#strategize` where it incorrectly called `strategy!` instead of `strategize!`.`
4+
35
## [0.3.10] - 2022-12-30
46

57
- Change `CallableTree::Node::Internal#broadcastable` to take `matchable` keyword parameter as boolean. It defaults to `true`, which is the same behavior as before.

lib/callable_tree/node/internal/strategizable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def store_strategy(key, config)
9595
private
9696

9797
def strategize(name, *args, matchable:, terminable:, **kwargs)
98-
clone.strategy!(name, *args, matchable: matchable, terminable: terminable, **kwargs)
98+
clone.strategize!(name, *args, matchable: matchable, terminable: terminable, **kwargs)
9999
end
100100

101101
def strategize!(name, *args, matchable:, terminable:, **kwargs)

0 commit comments

Comments
 (0)