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.



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

def exception_name=(value)
  @exception_name = value
end

Instance Method Details

#to_sObject



10
11
12
# File 'lib/cucumber/wire/exception.rb', line 10

def to_s
  @exception_name
end