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.



23
24
25
# File 'lib/calabash-cucumber/launcher.rb', line 23

def initialize(err)
  self.error= err
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.



21
22
23
# File 'lib/calabash-cucumber/launcher.rb', line 21

def error
  @error
end

Instance Method Details

#to_sObject



27
28
29
# File 'lib/calabash-cucumber/launcher.rb', line 27

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