Class: NRSER::Rash::Testing::FunctionTestCase::Raises

Inherits:
Object
  • Object
show all
Defined in:
lib/nrser/rash/testing.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Instance Attribute Details

#clsObject (readonly)

Returns the value of attribute cls.



110
111
112
# File 'lib/nrser/rash/testing.rb', line 110

def cls
  @cls
end

#msgObject (readonly)

Returns the value of attribute msg.



110
111
112
# File 'lib/nrser/rash/testing.rb', line 110

def msg
  @msg
end