Exception: Opal::GemNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Opal::GemNotFound
- Defined in:
- opal/lib/opal/errors.rb
Overview
raised if Gem not found in Opal#use_gem
Instance Attribute Summary collapse
-
#gem_name ⇒ Object
readonly
name of gem that not found.
Instance Method Summary collapse
-
#initialize(gem_name) ⇒ GemNotFound
constructor
A new instance of GemNotFound.
Constructor Details
#initialize(gem_name) ⇒ GemNotFound
Returns a new instance of GemNotFound
8 9 10 11 |
# File 'opal/lib/opal/errors.rb', line 8 def initialize(gem_name) @gem_name = gem_name super("can't find gem #{gem_name}") end |
Instance Attribute Details
#gem_name ⇒ Object (readonly)
name of gem that not found
5 6 7 |
# File 'opal/lib/opal/errors.rb', line 5 def gem_name @gem_name end |