lib/tocer/cli/actions/pattern.rb in tocer-16.0.0 vs lib/tocer/cli/actions/pattern.rb in tocer-16.0.1
- old
+ new
@@ -6,20 +6,20 @@
module Tocer
module CLI
module Actions
# Stores table of contents file patterns.
class Pattern < Sod::Action
- include Import[:inputs]
+ include Import[:input]
using Refinements::Structs
description "Set file patterns."
on %w[-p --patterns], argument: "[a,b,c]"
default { Container[:configuration].patterns }
- def call(patterns = default) = inputs.merge! patterns: Array(patterns)
+ def call(patterns = default) = input.merge! patterns: Array(patterns)
end
end
end
end