Module: Assignable
- Included in:
- BaseKeys
- Defined in:
- lib/mixins/assignable.rb
Overview
This module creates an attr reader for each key in the provided hash and assigns the corresponding value, so that items may be accessed like this: Fruits.new.BANANA