Exception: MenuCommander::MenuNotFound
- Defined in:
- lib/menu_commander/exceptions.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
:nocov: - covered by external process.
-
#paths ⇒ Object
readonly
:nocov: - covered by external process.
Instance Method Summary collapse
-
#initialize(message = nil, paths: nil, config: nil) ⇒ MenuNotFound
constructor
A new instance of MenuNotFound.
Constructor Details
#initialize(message = nil, paths: nil, config: nil) ⇒ MenuNotFound
Returns a new instance of MenuNotFound.
10 11 12 13 14 |
# File 'lib/menu_commander/exceptions.rb', line 10 def initialize(=nil, paths: nil, config: nil) ||= "Could not find menu configuration file" @paths, @config = paths, config super end |
Instance Attribute Details
#config ⇒ Object (readonly)
:nocov: - covered by external process
8 9 10 |
# File 'lib/menu_commander/exceptions.rb', line 8 def config @config end |
#paths ⇒ Object (readonly)
:nocov: - covered by external process
8 9 10 |
# File 'lib/menu_commander/exceptions.rb', line 8 def paths @paths end |