Class: Ree::SpecRunner::CommandParams

Inherits:
Object
  • Object
show all
Defined in:
lib/ree/spec_runner/command_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command.



4
5
6
# File 'lib/ree/spec_runner/command_params.rb', line 4

def command
  @command
end

#exitstatusObject

Returns the value of attribute exitstatus.



4
5
6
# File 'lib/ree/spec_runner/command_params.rb', line 4

def exitstatus
  @exitstatus
end

#package_nameObject

Returns the value of attribute package_name.



4
5
6
# File 'lib/ree/spec_runner/command_params.rb', line 4

def package_name
  @package_name
end

#package_pathObject

Returns the value of attribute package_path.



4
5
6
# File 'lib/ree/spec_runner/command_params.rb', line 4

def package_path
  @package_path
end

#spec_countObject

Returns the value of attribute spec_count.



4
5
6
# File 'lib/ree/spec_runner/command_params.rb', line 4

def spec_count
  @spec_count
end

#spec_matcherObject

Returns the value of attribute spec_matcher.



4
5
6
# File 'lib/ree/spec_runner/command_params.rb', line 4

def spec_matcher
  @spec_matcher
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/ree/spec_runner/command_params.rb', line 6

def success?
  @exitstatus == 0
end