Class: BitGirder::Core::InstanceMapper

Inherits:
Object
  • Object
show all
Includes:
BitGirderMethods
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

Instance Method Summary collapse

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(opts) ⇒ InstanceMapper

Does nil and other checks for public frontends



813
814
815
816
817
# File 'lib/bitgirder/core.rb', line 813

def initialize( opts )

    not_nil( opts, :opts )
    @processor = has_key( opts, :processor )
end

Instance Attribute Details

#processorObject (readonly)

Returns the value of attribute processor.



810
811
812
# File 'lib/bitgirder/core.rb', line 810

def processor
  @processor
end