Class: Ergane::Hashall
- Inherits:
-
Hash
- Object
- Hash
- Ergane::Hashall
- Defined in:
- lib/ergane/helpers/hashall.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(*args) ⇒ Hashall
constructor
A new instance of Hashall.
Constructor Details
#initialize(*args) ⇒ Hashall
Returns a new instance of Hashall.
3 4 5 6 |
# File 'lib/ergane/helpers/hashall.rb', line 3 def initialize(*args) super() self.default_proc = -> (h, k) { h[k] = self.class.new(*args) } end |