Exception: Cult::Driver::GemNeededError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Cult::Driver::GemNeededError
- Defined in:
- lib/cult/driver.rb
Overview
This is raised when a Driver is instantiated, but the required gems are not installed.
Instance Attribute Summary collapse
-
#gems ⇒ Object
readonly
Returns the value of attribute gems.
Instance Method Summary collapse
-
#initialize(gems) ⇒ GemNeededError
constructor
A new instance of GemNeededError.
- #message ⇒ Object
Constructor Details
#initialize(gems) ⇒ GemNeededError
Returns a new instance of GemNeededError.
11 12 13 14 |
# File 'lib/cult/driver.rb', line 11 def initialize(gems) @gems = gems super() end |
Instance Attribute Details
#gems ⇒ Object (readonly)
Returns the value of attribute gems.
10 11 12 |
# File 'lib/cult/driver.rb', line 10 def gems @gems end |
Instance Method Details
#message ⇒ Object
16 17 18 |
# File 'lib/cult/driver.rb', line 16 def "gems required: #{gems.inspect}" end |