Sha256: 9f20dcf598c94c26aef225dbd7109b767f977794f6db47aba526c6de95634614

Contents?: true

Size: 776 Bytes

Versions: 6

Compression:

Stored size: 776 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler/setup'
require 'rh'

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start

puts "Recursive Hash module
Short list of functions:
- Hash.rh_set(value, *keys) => value
- Hash.rh_get(*keys) => value found or nil
- Hash.rh_exist?(*keys) => true/false
- Hash.rh_lexist?(*keys) => number
- Hash.rh_clone() => Hash
- Hash.rh_del(*keys) => data removed
- Hash.rh_merge(hash) => Hash/Array merged
- Hash.rh_merge!(hash) => Hash/Array merged
- Array.rh_merge(Array) => Array/Hash merged
- Array.rh_merge!(Array) => Array/Hash merged"

require 'irb'
IRB.start

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
subhash-0.1.5 bin/console
subhash-0.1.4 bin/console
subhash-0.1.3 bin/console
subhash-0.1.2 bin/console
subhash-0.1.1 bin/console
subhash-0.1.0 bin/console