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

#command ⇒ Object

Returns the value of attribute command.



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

def command
  @command
end

#exitstatus ⇒ Object

Returns the value of attribute exitstatus.



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

def exitstatus
  @exitstatus
end

#package_name ⇒ Object

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_path ⇒ Object

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_count ⇒ Object

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_matcher ⇒ Object

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