lib/beaker/options/options_hash.rb
# Recursively generate a string describing the contents self
#
# @example
#   base = { :key => { :subkey1 => 'subval', :subkey2 => 'subval' } }
#   base.dump == "Options:\n\t\tkey :\n\t\t\tsubkey : subval\n\t\t\tsubkey2 : subval\n"
#      
# @return [String] The description of self 
Recursively generate a string describing the contents self
Recursively generate a string describing the contents self
def dump
        str = ''
        str +=  "Options:#{EOL}"
        str += rdump(self)
      end
def dump str = '' str += "Options:#{EOL}" str += rdump ( self ) end
Recursively generate a string describing the contents self
Recursively generate a string describing the contents self
The description of self
The description of self
String
example
base = { :key => { :subkey1 => 'subval', :subkey2 => 'subval' } } base.dump == "Options:\n\t\tkey :\n\t\t\tsubkey : subval\n\t\t\tsubkey2 : subval\n"
base = { : key = > { : subkey1 = > ' subval ' : subkey2 = > ' subval ' } } base . dump == " Options : \ n \ t \ tkey : \ n \ t \ t \ tsubkey : subval \ n \ t \ t \ tsubkey2 : subval \ n "