Module: Cucumber::WireSupport::WireException::CanSetName

Defined in:
lib/cucumber/wire_support/wire_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#exception_name=(value) ⇒ Object (writeonly)

Sets the attribute exception_name

Parameters:

  • value

    the value to set the attribute exception_name to.



6
7
8
# File 'lib/cucumber/wire_support/wire_exception.rb', line 6

def exception_name=(value)
  @exception_name = value
end

Instance Method Details

#to_sObject



7
8
9
# File 'lib/cucumber/wire_support/wire_exception.rb', line 7

def to_s
  @exception_name
end