Class: JSH::Base

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

Instance Method Summary collapse

Instance Method Details

#commandsObject



16
17
18
# File 'lib/jsh/base.rb', line 16

def commands
  @commands ||= Commands.new
end

#contextObject



8
9
10
# File 'lib/jsh/base.rb', line 8

def context
  @context ||= Context.new
end

#hooksObject



20
21
22
# File 'lib/jsh/base.rb', line 20

def hooks
  @hooks ||= Hooks.new
end

#outputObject



12
13
14
# File 'lib/jsh/base.rb', line 12

def output
  STDOUT
end