Class: BugGuard
- Inherits:
-
VersionGuard
- Object
- SpecGuard
- VersionGuard
- BugGuard
- Defined in:
- lib/extensions/mspec/mspec/guards/bug.rb
Instance Attribute Summary
Attributes inherited from SpecGuard
Instance Method Summary collapse
-
#initialize(bug, version) ⇒ BugGuard
constructor
A new instance of BugGuard.
- #match? ⇒ Boolean
Methods inherited from VersionGuard
Methods inherited from SpecGuard
#===, #add, clear, clear_guards, finish, guards, #implementation?, #os?, #platform?, #record, report, #report_key, #reporting?, ruby_version, ruby_version_override, ruby_version_override=, #standard?, #unregister, #windows?, #wordsize?, #yield?
Constructor Details
#initialize(bug, version) ⇒ BugGuard
Returns a new instance of BugGuard.
4 5 6 7 8 |
# File 'lib/extensions/mspec/mspec/guards/bug.rb', line 4 def initialize(bug, version) @bug = bug @version = SpecVersion.new version, true self.parameters = [@bug, @version] end |