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.
7 8 9 10 |
# File 'lib/xamplr/exceptions.rb', line 7 def initialize(xampl) @xampl = xampl @msg = "Invalid Xampl:: #{xampl}" end |
Instance Attribute Details
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
5 6 7 |
# File 'lib/xamplr/exceptions.rb', line 5 def msg @msg end |
#xampl ⇒ Object (readonly)
Returns the value of attribute xampl.
5 6 7 |
# File 'lib/xamplr/exceptions.rb', line 5 def xampl @xampl end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/xamplr/exceptions.rb', line 12 def @msg end |