lib/pragmater/cli/commands/remove.rb in pragmater-13.0.0 vs lib/pragmater/cli/commands/remove.rb in pragmater-13.0.1
- old
+ new
@@ -5,11 +5,11 @@
module Pragmater
module CLI
module Commands
# Removes pragmas.
class Remove < Sod::Command
- include Import[:inputs, :kernel]
+ include Import[:input, :kernel]
handle "remove"
description "Remove pragma comments."
@@ -20,10 +20,10 @@
def initialize(handler: Remover.new, **)
super(**)
@handler = handler
end
- def call = handler.call(inputs) { |path| kernel.puts path }
+ def call = handler.call(input) { |path| kernel.puts path }
private
attr_reader :handler
end