[フレーム]

Exception: Opal::GemNotFound

Inherits:
Error
  • Object
  • StandardError
  • Error
  • Opal::GemNotFound
show all
Defined in:
opal/lib/opal/errors.rb

Overview

raised if Gem not found in Opal#use_gem

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gem_name) ⇒ GemNotFound

Returns a new instance of GemNotFound.

Parameters:

  • gem_name (String)

    name of gem that not found

14
15
16
17
# File 'opal/lib/opal/errors.rb', line 14
def initialize(gem_name)
 @gem_name = gem_name
 super("can't find gem #{gem_name}")
end

Instance Attribute Details

#gem_nameObject (readonly)

name of gem that not found

11
12
13
# File 'opal/lib/opal/errors.rb', line 11
def gem_name
 @gem_name
end

AltStyle によって変換されたページ (->オリジナル) /