Class: NRSER::Rash::Testing::FunctionTestCase::Raises
- Defined in:
- lib/nrser/rash/testing.rb
Instance Attribute Summary collapse
-
#cls ⇒ Object
readonly
Returns the value of attribute cls.
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Instance Method Summary collapse
-
#initialize(cls, msg = nil) ⇒ Raises
constructor
A new instance of Raises.
Constructor Details
#initialize(cls, msg = nil) ⇒ Raises
Returns a new instance of Raises.
112 113 114 115 |
# File 'lib/nrser/rash/testing.rb', line 112 def initialize cls, msg = nil @cls = cls @msg = msg end |