Class SpecGuard
In: lib/mspec/guards/guard.rb
Parent: Object

Methods

===   add   clear   clear_guards   finish   guards   implementation?   match?   new   os?   platform?   record   report   report_key   reporting?   ruby_version   standard?   unregister   windows?   wordsize?   yield?  

Attributes

name  [RW] 
parameters  [RW] 

Public Class methods

Returns a partial Ruby version string based on which. For example, if RUBY_VERSION = 8.2.3 and RUBY_PATCHLEVEL = 71:

 :major  => "8"
 :minor  => "8.2"
 :tiny   => "8.2.3"
 :teeny  => "8.2.3"
 :full   => "8.2.3.71"

Public Instance methods

[Validate]