class Pragmater::CLI::Commands::Insert
Inserts pragmas.
Public Class Methods
new(handler: Inserter.new, **)
click to toggle source
Calls superclass method
# File lib/pragmater/cli/commands/insert.rb, line 20 def initialize(handler: Inserter.new, **) super(**) @handler = handler end
Public Instance Methods
call(= handler.call { |path| io.puts path })
click to toggle source
# File lib/pragmater/cli/commands/insert.rb, line 25 def call = handler.call { |path| io.puts path } private attr_reader :handler end