Exception: Xampl::XamplIsInvalid
- Inherits:
-
Exception
- Object
- Exception
- Xampl::XamplIsInvalid
- Defined in:
- lib/xamplr/exceptions.rb
Instance Attribute Summary collapse
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
-
#xampl ⇒ Object
readonly
Returns the value of attribute xampl.
Instance Method Summary collapse
-
#initialize(xampl) ⇒ XamplIsInvalid
constructor
A new instance of XamplIsInvalid.
- #message ⇒ Object
Constructor Details
#initialize(xampl) ⇒ XamplIsInvalid
Returns a new instance of XamplIsInvalid.
6 7 8 9 |
# File 'lib/xamplr/exceptions.rb', line 6 def initialize(xampl) @xampl = xampl @msg = "Invalid Xampl:: #{xampl}" end |
Instance Attribute Details
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
4 5 6 |
# File 'lib/xamplr/exceptions.rb', line 4 def msg @msg end |
#xampl ⇒ Object (readonly)
Returns the value of attribute xampl.
4 5 6 |
# File 'lib/xamplr/exceptions.rb', line 4 def xampl @xampl end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/xamplr/exceptions.rb', line 11 def @msg end |