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.



17
18
19
# File 'lib/calabash-cucumber/launcher.rb', line 17

def initialize(err)
  self.error= err
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.



15
16
17
# File 'lib/calabash-cucumber/launcher.rb', line 15

def error
  @error
end

Instance Method Details

#to_sObject



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

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