Class: Rproof::Warning
- Inherits:
-
LocatedInfo
- Object
- LocatedInfo
- Rproof::Warning
- Defined in:
- lib/rproof/warning.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Attributes inherited from LocatedInfo
#file, #line, #method, #pathname
Instance Method Summary collapse
-
#initialize(message) ⇒ Warning
constructor
A new instance of Warning.
Constructor Details
#initialize(message) ⇒ Warning
Returns a new instance of Warning.
9 10 11 12 |
# File 'lib/rproof/warning.rb', line 9 def initialize() super() @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
13 14 15 |
# File 'lib/rproof/warning.rb', line 13 def @message end |