Class: LogicaCompiler::Commands::Base
- Inherits:
-
Object
- Object
- LogicaCompiler::Commands::Base
- Defined in:
- lib/logica_compiler/commands/base.rb
Instance Method Summary collapse
-
#initialize(env: Deps::Env.new, shell: Deps::Shell.new, clock: Deps::Clock.new, config_loader: Config.method(:load!), which: Util.method(:which)) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(env: Deps::Env.new, shell: Deps::Shell.new, clock: Deps::Clock.new, config_loader: Config.method(:load!), which: Util.method(:which)) ⇒ Base
Returns a new instance of Base.
12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/logica_compiler/commands/base.rb', line 12 def initialize( env: Deps::Env.new, shell: Deps::Shell.new, clock: Deps::Clock.new, config_loader: Config.method(:load!), which: Util.method(:which) ) @env = env @shell = shell @clock = clock @config_loader = config_loader @which = which end |