Class: RLab::Assert::MissingCheck

Inherits:
Error
  • Object
show all
Defined in:
lib/rlab/assert/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(check_name) ⇒ MissingCheck

Returns a new instance of MissingCheck.



31
32
33
# File 'lib/rlab/assert/errors.rb', line 31

def initialize check_name
  @check_name = check_name
end

Instance Attribute Details

#check_nameObject (readonly)

Returns the value of attribute check_name.



29
30
31
# File 'lib/rlab/assert/errors.rb', line 29

def check_name
  @check_name
end

Instance Method Details

#to_sObject



35
36
37
# File 'lib/rlab/assert/errors.rb', line 35

def to_s
  "could not resolve check #{check_name.inspect}"
end