Exception: Calabash::Cucumber::Launcher::StartError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/calabash-cucumber/launcher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(err) ⇒ StartError

Returns a new instance of StartError.



34
35
36
# File 'lib/calabash-cucumber/launcher.rb', line 34

def initialize(err)
  self.error= err
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.



32
33
34
# File 'lib/calabash-cucumber/launcher.rb', line 32

def error
  @error
end

Instance Method Details

#to_sObject



38
39
40
# File 'lib/calabash-cucumber/launcher.rb', line 38

def to_s
  "#{super.to_s}: #{error}"
end