Class: Flatware::Cucumber::Formatter::Scenario

Inherits:
Struct
  • Object
show all
Defined in:
lib/flatware/cucumber/formatter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#file_colon_lineObject

Returns the value of attribute file_colon_line



13
14
15
# File 'lib/flatware/cucumber/formatter.rb', line 13

def file_colon_line
  @file_colon_line
end

#nameObject

Returns the value of attribute name



13
14
15
# File 'lib/flatware/cucumber/formatter.rb', line 13

def name
  @name
end

#statusObject

Returns the value of attribute status



13
14
15
# File 'lib/flatware/cucumber/formatter.rb', line 13

def status
  @status
end

Instance Method Details

#failed?Boolean



14
15
16
# File 'lib/flatware/cucumber/formatter.rb', line 14

def failed?
  status == :failed
end

#failed_outside_step?Boolean



18
19
20
# File 'lib/flatware/cucumber/formatter.rb', line 18

def failed_outside_step?
  false
end