Class: Bitmapped::Validators::ValidateBitmapInitialised
- Inherits:
-
Object
- Object
- Bitmapped::Validators::ValidateBitmapInitialised
- Defined in:
- lib/bitmapped/validators/validate_bitmap_initialised.rb
Class Method Summary collapse
Class Method Details
.parse_and_validate(bitmap) ⇒ Object
9 10 11 |
# File 'lib/bitmapped/validators/validate_bitmap_initialised.rb', line 9 def parse_and_validate(bitmap) raise BitmapNotInitialised unless bitmap.pixels end |