Class: Pragmater::CLI::Commands::Insert
- Inherits:
-
Sod::Command
- Object
- Sod::Command
- Pragmater::CLI::Commands::Insert
- Defined in:
- lib/pragmater/cli/commands/insert.rb
Overview
Inserts pragmas.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(handler: Inserter.new) ⇒ Insert
constructor
A new instance of Insert.
Constructor Details
Instance Method Details
#call ⇒ Object
25 |
# File 'lib/pragmater/cli/commands/insert.rb', line 25 def call = handler.call { |path| io.puts path } |