Class: TRMNLP::Commands::Base

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

Direct Known Subclasses

Build, Login, Pull, Push, Serve

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Base

Returns a new instance of Base.



6
7
8
9
# File 'lib/trmnlp/commands/base.rb', line 6

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

Instance Method Details

#callObject

Raises:

  • (NotImplementedError)


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

def call
  raise NotImplementedError
end