Module: Cucumber::Wire::Exception::CanSetName

Defined in:
lib/cucumber/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/exception.rb', line 6

def exception_name=(value)
  @exception_name = value
end

Instance Method Details

#to_sObject



7
8
9
# File 'lib/cucumber/wire/exception.rb', line 7

def to_s
  @exception_name
end