Exception: Yoda::CoreImportError
- Defined in:
- lib/yoda/errors.rb
Instance Attribute Summary collapse
- #name ⇒ String readonly
Instance Method Summary collapse
-
#initialize(name) ⇒ CoreImportError
constructor
A new instance of CoreImportError.
- #msg ⇒ Object
Constructor Details
#initialize(name) ⇒ CoreImportError
Returns a new instance of CoreImportError.
25 26 27 28 |
# File 'lib/yoda/errors.rb', line 25 def initialize(name) @name = name super(msg) end |
Instance Attribute Details
#name ⇒ String (readonly)
23 24 25 |
# File 'lib/yoda/errors.rb', line 23 def name @name end |
Instance Method Details
#msg ⇒ Object
30 31 32 |
# File 'lib/yoda/errors.rb', line 30 def msg "Failed to import Ruby #{name} Library" end |