Class: BitGirder::Core::DictionaryPath

Inherits:
ObjectPath
  • Object
show all
Defined in:
lib/bitgirder/core.rb

Constant Summary

Constants included from BitGirderMethods

BitGirderMethods::PARAM_TYPE_ARG, BitGirderMethods::PARAM_TYPE_ENVVAR, BitGirderMethods::PARAM_TYPE_KEY

Instance Attribute Summary collapse

Attributes inherited from ObjectPath

#parent

Instance Method Summary collapse

Methods inherited from ObjectPath

#descend, #format, get_root, get_root_list, #start_list

Methods included from BitGirderMethods

argv_to_argh, check_fail_prefix, class_name_to_sym, code, compares_to, console, ext_to_class_name, ext_to_sym, has_env, has_key, has_keys, nonnegative, not_nil, positive, raisef, set_from_key, set_var, split_argv, sym_to_cli_switch, sym_to_ext_id, to_bool, unpack_argv_array, unpack_argv_hash, warn

Constructor Details

#initialize(parent, key) ⇒ DictionaryPath

Returns a new instance of DictionaryPath.



1278
1279
1280
1281
1282
# File 'lib/bitgirder/core.rb', line 1278

def initialize( parent, key )

    super( parent )
    @key = not_nil( key, "key" )
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



1276
1277
1278
# File 'lib/bitgirder/core.rb', line 1276

def key
  @key
end