Class: Completely::Commands::Test

Inherits:
Base
  • Object
show all
Defined in:
lib/completely/commands/test.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

environment_config_path, environment_debug, option_function, param_config_path

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



33
34
35
# File 'lib/completely/commands/test.rb', line 33

def config
  @config
end

#script_functionObject (readonly)

Returns the value of attribute script_function.



33
34
35
# File 'lib/completely/commands/test.rb', line 33

def script_function
  @script_function
end

#script_pathObject (readonly)

Returns the value of attribute script_path.



33
34
35
# File 'lib/completely/commands/test.rb', line 33

def script_path
  @script_path
end

Instance Method Details

#runObject



35
36
37
38
# File 'lib/completely/commands/test.rb', line 35

def run
  set_vars
  puts tester.test(compline).join "\n"
end