Module: Sparsify::HelperMethods

Included in:
Sparsify
Defined in:
lib/sparsify/helper_methods.rb

Instance Method Summary collapse

Instance Method Details

#Sparsify(hsh, options = {}) ⇒ Object



5
6
7
# File 'lib/sparsify/helper_methods.rb', line 5

def Sparsify(hsh, options = {})
  Sparsify.sparse(hsh, options)
end

#Unsparsify(hsh, options = {}) ⇒ Object



9
10
11
# File 'lib/sparsify/helper_methods.rb', line 9

def Unsparsify(hsh, options = {})
  Sparsify.unsparse(hsh, options)
end