Class: TRMNLP::Commands::Base

Inherits:
Object
  • Object
show all
Includes:
Thor::CoreExt
Defined in:
lib/trmnlp/commands/base.rb

Direct Known Subclasses

Build, Clone, Init, Login, Pull, Push, Serve

Instance Method Summary collapse

Constructor Details

#initialize(options = HashWithIndifferentAccess.new) ⇒ Base

Returns a new instance of Base.



10
11
12
13
# File 'lib/trmnlp/commands/base.rb', line 10

def initialize(options = HashWithIndifferentAccess.new)
  @options = HashWithIndifferentAccess.new(options)
  @context = Context.new(@options.dir)
end

Instance Method Details

#callObject

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/trmnlp/commands/base.rb', line 15

def call
  raise NotImplementedError
end