Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/tooling/hash.rb

Overview

####### ######## ####### ######## ########

 / / / /    License    \ \ \ \
Copyleft culture, Copyright (C) is prohibited here
This work is licensed under a CC BY-SA 4.0
Creative Commons Attribution-ShareAlike 4.0 License
Refer to the http://creativecommons.org/licenses/by-sa/4.0/
#######    ########    #######    ########    ########
/ / / /    Code Climate    \ \ \ \
Language = ruby
Indent = space;    2 chars;
#######    ########    #######    ########    ########

Class Method Summary collapse

Class Method Details

.recursiveObject



14
15
16
# File 'lib/tooling/hash.rb', line 14

def self.recursive
  new { |hash, key| hash[key] = recursive }
end