summaryrefslogtreecommitdiff
path: root/lib/dslkeywords/file.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/file.rb
parent7d5264aea075c3845e6d5e4be65aaacdea54e71f (diff)
cosmetics
Diffstat (limited to 'lib/dslkeywords/file.rb')
-rw-r--r--lib/dslkeywords/file.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dslkeywords/file.rb b/lib/dslkeywords/file.rb
index 746b41c..35db9c2 100644
--- a/lib/dslkeywords/file.rb
+++ b/lib/dslkeywords/file.rb
@@ -39,7 +39,7 @@ module RCM
@from_template = true
end
- def do!
+ def evaluate!
content = real_content
dirname = ::File.dirname(@path)
@@ -65,7 +65,7 @@ module RCM
end
# Add file keyword to the DSL
- class RCM
+ class DSL
def file(path, &block)
return unless @conds_met