Class: LittleEndianGuard
- Defined in:
- lib/mspec/guards/endian.rb
Instance Method Summary collapse
Methods inherited from SpecGuard
#===, #after, #before, finish, #implementation?, #initialize, #os?, #platform?, register, unregister, #unregister, #windows?, #wordsize?, #yield?
Constructor Details
This class inherits a constructor from SpecGuard
Instance Method Details
#match? ⇒ Boolean
23 24 25 |
# File 'lib/mspec/guards/endian.rb', line 23 def match? pattern[-1] == 0 end |