Class: Ixtlan::HashWithDefault
- Inherits:
-
Hash
- Object
- Hash
- Ixtlan::HashWithDefault
- Defined in:
- lib/ixtlan/passwords.rb
Instance Method Summary collapse
Instance Method Details
#get(key, default = HashWithDefault.new) ⇒ Object
25 26 27 |
# File 'lib/ixtlan/passwords.rb', line 25 def get( key, default = HashWithDefault.new ) self[ key ] || default end |