Exception: Foobara::Util::ParentModuleDoesNotExistError
- Inherits:
-
StandardError
- Object
- StandardError
- Foobara::Util::ParentModuleDoesNotExistError
- Defined in:
- foobara-util-0.0.11/lib/foobara/util/meta.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#parent_name ⇒ Object
readonly
Returns the value of attribute parent_name.
Instance Method Summary collapse
-
#initialize(name:, parent_name:) ⇒ ParentModuleDoesNotExistError
constructor
A new instance of ParentModuleDoesNotExistError.
Constructor Details
#initialize(name:, parent_name:) ⇒ ParentModuleDoesNotExistError
Returns a new instance of ParentModuleDoesNotExistError.
6 7 8 9 10 11 |
# File 'foobara-util-0.0.11/lib/foobara/util/meta.rb', line 6 def initialize(name:, parent_name:) @name = name @parent_name = parent_name super("Parent module #{parent_name} does not exist for #{name}.") end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'foobara-util-0.0.11/lib/foobara/util/meta.rb', line 4 def name @name end |
#parent_name ⇒ Object (readonly)
Returns the value of attribute parent_name.
4 5 6 |
# File 'foobara-util-0.0.11/lib/foobara/util/meta.rb', line 4 def parent_name @parent_name end |