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