FilteredHash¶
Constants¶
- VALID_SYMBOL_INSTRUCTIONS
- VALID_HASH_INSTRUCTIONS
- VALID_INSTRUCTIONS_TYPES
Methods¶
def filtered_base case instructions when Symbol filtered_base_by_symbol when Hash filtered_base_by_hash end end
def initialize(base, instructions) @base = base @instructions = instructions @instructions_type = instructions.class validate_instructions!(instructions) end