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

Returns:

  • (Object)

    the current value of file_colon_line



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

def file_colon_line
  @file_colon_line
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



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

def status
  @status
end

Instance Method Details

#failed?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/flatware/cucumber/formatter.rb', line 16

def failed?
  status == :failed
end

#failed_outside_step?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/flatware/cucumber/formatter.rb', line 20

def failed_outside_step?
  false
end