Exception: BlogBoi::MethodNotImplementedByParentApplication
- Inherits:
-
StandardError
- Object
- StandardError
- BlogBoi::MethodNotImplementedByParentApplication
- Defined in:
- lib/blog_boi/error_classes.rb
Instance Attribute Summary collapse
-
#method_missing ⇒ Object
readonly
Returns the value of attribute method_missing.
Instance Method Summary collapse
-
#initialize(method) ⇒ MethodNotImplementedByParentApplication
constructor
A new instance of MethodNotImplementedByParentApplication.
Constructor Details
#initialize(method) ⇒ MethodNotImplementedByParentApplication
Returns a new instance of MethodNotImplementedByParentApplication.
6 7 8 9 10 11 12 13 14 |
# File 'lib/blog_boi/error_classes.rb', line 6 def initialize(method) @method_missing = method super( 'Parent application must implement the method ' + method_missing + " - See BlogBoi README for requirement." ) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing ⇒ Object (readonly)
Returns the value of attribute method_missing.
4 5 6 |
# File 'lib/blog_boi/error_classes.rb', line 4 def method_missing @method_missing end |
Instance Attribute Details
#method_missing ⇒ Object (readonly)
Returns the value of attribute method_missing.
4 5 6 |
# File 'lib/blog_boi/error_classes.rb', line 4 def method_missing @method_missing end |