summaryrefslogtreecommitdiff
path: root/lib/dslkeywords/only_when.rb
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-12-07 14:36:21 +0200
committerPaul Buetow <paul@buetow.org>2024-12-07 14:36:21 +0200
commitf0b0dae5bb2e16cf45223fc31396708bd069d06c (patch)
tree5a7f3cd159c8d7029006fb900ec79dad05e0e212 /lib/dslkeywords/only_when.rb
parent7d5264aea075c3845e6d5e4be65aaacdea54e71f (diff)
cosmetics
Diffstat (limited to 'lib/dslkeywords/only_when.rb')
-rw-r--r--lib/dslkeywords/only_when.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dslkeywords/only_when.rb b/lib/dslkeywords/only_when.rb
index 2700bee..2f493b2 100644
--- a/lib/dslkeywords/only_when.rb
+++ b/lib/dslkeywords/only_when.rb
@@ -27,7 +27,7 @@ module RCM
end
# Add 'only_when' to DSL
- class RCM
+ class DSL
def only_when(&block)
conds = OnlyWhen.new
conds.instance_eval(&block)