Class: LSL::Completion::Base

Inherits:
Object
  • Object
show all
Includes:
FromHash
Defined in:
lib/lsl/command/completion.rb

Instance Method Summary collapse

Instance Method Details

#new_instance(ops) ⇒ Object



21
22
23
24
25
# File 'lib/lsl/command/completion.rb', line 21

def new_instance(ops)
  res = LSL::Completion::Instance.new(ops)
  self.instances << res
  res
end

#shellObject



18
19
20
# File 'lib/lsl/command/completion.rb', line 18

def shell
  LSL::Shell.instance
end