Class: Completely::Commands::Test
- Defined in:
- lib/completely/commands/test.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#script_function ⇒ Object
readonly
Returns the value of attribute script_function.
-
#script_path ⇒ Object
readonly
Returns the value of attribute script_path.
Instance Method Summary collapse
Methods inherited from Base
environment_config_path, environment_debug, option_function, param_config_path
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
33 34 35 |
# File 'lib/completely/commands/test.rb', line 33 def config @config end |
#script_function ⇒ Object (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_path ⇒ Object (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
#run ⇒ Object
35 36 37 38 |
# File 'lib/completely/commands/test.rb', line 35 def run set_vars puts tester.test(compline).join "\n" end |