Exception: Charyf::Application::Bootstrap::SkillLoadError
- Inherits:
-
StandardError
- Object
- StandardError
- Charyf::Application::Bootstrap::SkillLoadError
- Defined in:
- lib/charyf/utils/application/bootstrap.rb
Instance Method Summary collapse
- #_message ⇒ Object
-
#initialize(e, skill_name, skill_path) ⇒ SkillLoadError
constructor
A new instance of SkillLoadError.
- #message ⇒ Object
Constructor Details
#initialize(e, skill_name, skill_path) ⇒ SkillLoadError
Returns a new instance of SkillLoadError.
12 13 14 15 16 17 |
# File 'lib/charyf/utils/application/bootstrap.rb', line 12 def initialize(e, skill_name, skill_path) super(e) @_name = skill_name @_path = skill_path.dirname end |
Instance Method Details
#_message ⇒ Object
23 24 25 26 27 28 29 30 31 |
# File 'lib/charyf/utils/application/bootstrap.rb', line 23 def <<-EOS Unable to load skill #{@_name} Expected to find: '#{@_name}.rb' Located at: '#{@_path}' EOS end |
#message ⇒ Object
19 20 21 |
# File 'lib/charyf/utils/application/bootstrap.rb', line 19 def + super end |