Class: Preflight::Rules::InfoHasKeys
- Inherits:
-
Object
- Object
- Preflight::Rules::InfoHasKeys
- Defined in:
- lib/preflight/rules/info_has_keys.rb
Overview
Instance Method Summary collapse
- #check_hash(ohash) ⇒ Object
-
#initialize(*keys) ⇒ InfoHasKeys
constructor
A new instance of InfoHasKeys.
Constructor Details
#initialize(*keys) ⇒ InfoHasKeys
Returns a new instance of InfoHasKeys.
21 22 23 |
# File 'lib/preflight/rules/info_has_keys.rb', line 21 def initialize(*keys) @keys = keys.flatten end |