Exception: Exception
- Defined in:
- lib/rubytest/core_ext/exception.rb
Direct Known Subclasses
Instance Method Summary collapse
- #assertion? ⇒ Boolean
- #priority ⇒ Object
- #set_assertion(boolean) ⇒ Object
- #set_priority(integer) ⇒ Object
Instance Method Details
#assertion? ⇒ Boolean
7 8 9 |
# File 'lib/rubytest/core_ext/exception.rb', line 7 def assertion? @assertion end |
#priority ⇒ Object
15 16 17 |
# File 'lib/rubytest/core_ext/exception.rb', line 15 def priority @priority ||= 0 end |
#set_assertion(boolean) ⇒ Object
3 4 5 |
# File 'lib/rubytest/core_ext/exception.rb', line 3 def set_assertion(boolean) @assertion = boolean end |
#set_priority(integer) ⇒ Object
11 12 13 |
# File 'lib/rubytest/core_ext/exception.rb', line 11 def set_priority(integer) @priority = integer.to_i end |