Class: Tapioca::Commands::Command
- Inherits:
-
Object
- Object
- Tapioca::Commands::Command
- Extended by:
- T::Helpers, T::Sig
- Includes:
- Tapioca::CliHelper, Thor::Base
- Defined in:
- lib/tapioca/commands/command.rb
Direct Known Subclasses
Defined Under Namespace
Classes: FileWriter
Instance Method Summary collapse
-
#initialize ⇒ Command
constructor
A new instance of Command.
- #run ⇒ Object
Methods included from Tapioca::CliHelper
#netrc_file, #rbi_formatter, #say_error
Constructor Details
#initialize ⇒ Command
Returns a new instance of Command.
20 21 22 |
# File 'lib/tapioca/commands/command.rb', line 20 def initialize @file_writer = T.let(FileWriter.new, Thor::Actions) end |
Instance Method Details
#run ⇒ Object
25 26 27 28 29 |
# File 'lib/tapioca/commands/command.rb', line 25 def run Tapioca.silence_warnings do execute end end |