Module: EacRubyUtils
- Defined in:
- lib/eac_ruby_utils.rb,
lib/eac_ruby_utils/fs.rb,
lib/eac_ruby_utils/bit.rb,
lib/eac_ruby_utils/byte.rb,
lib/eac_ruby_utils/enum.rb,
lib/eac_ruby_utils/envs.rb,
lib/eac_ruby_utils/ruby.rb,
lib/eac_ruby_utils/yaml.rb,
lib/eac_ruby_utils/patch.rb,
lib/eac_ruby_utils/rspec.rb,
lib/eac_ruby_utils/struct.rb,
lib/eac_ruby_utils/boolean.rb,
lib/eac_ruby_utils/compact.rb,
lib/eac_ruby_utils/context.rb,
lib/eac_ruby_utils/fs/temp.rb,
lib/eac_ruby_utils/locales.rb,
lib/eac_ruby_utils/speaker.rb,
lib/eac_ruby_utils/version.rb,
lib/eac_ruby_utils/listable.rb,
lib/eac_ruby_utils/bit_array.rb,
lib/eac_ruby_utils/envs/file.rb,
lib/eac_ruby_utils/inflector.rb,
lib/eac_ruby_utils/wildcards.rb,
lib/eac_ruby_utils/byte_array.rb,
lib/eac_ruby_utils/compare_by.rb,
lib/eac_ruby_utils/envs/spawn.rb,
lib/eac_ruby_utils/fs/extname.rb,
lib/eac_ruby_utils/require_sub.rb,
lib/eac_ruby_utils/rspec/setup.rb,
lib/eac_ruby_utils/by_reference.rb,
lib/eac_ruby_utils/envs/command.rb,
lib/eac_ruby_utils/envs/process.rb,
lib/eac_ruby_utils/envs/ssh_env.rb,
lib/eac_ruby_utils/fs/temp/file.rb,
lib/eac_ruby_utils/method_class.rb,
lib/eac_ruby_utils/ruby/command.rb,
lib/eac_ruby_utils/simple_cache.rb,
lib/eac_ruby_utils/custom_format.rb,
lib/eac_ruby_utils/envs/base_env.rb,
lib/eac_ruby_utils/gems_registry.rb,
lib/eac_ruby_utils/listable/item.rb,
lib/eac_ruby_utils/listable/list.rb,
lib/eac_ruby_utils/regexp_parser.rb,
lib/eac_ruby_utils/common_concern.rb,
lib/eac_ruby_utils/envs/local_env.rb,
lib/eac_ruby_utils/listable/lists.rb,
lib/eac_ruby_utils/speaker/sender.rb,
lib/eac_ruby_utils/blank_not_blank.rb,
lib/eac_ruby_utils/envs/executable.rb,
lib/eac_ruby_utils/local_time_zone.rb,
lib/eac_ruby_utils/acts_as_abstract.rb,
lib/eac_ruby_utils/contextualizable.rb,
lib/eac_ruby_utils/locales/from_gem.rb,
lib/eac_ruby_utils/options_consumer.rb,
lib/eac_ruby_utils/require_sub/base.rb,
lib/eac_ruby_utils/speaker/receiver.rb,
lib/eac_ruby_utils/string_delimited.rb,
lib/eac_ruby_utils/acts_as_immutable.rb,
lib/eac_ruby_utils/envs/base_command.rb,
lib/eac_ruby_utils/fs/temp/directory.rb,
lib/eac_ruby_utils/gems_registry/gem.rb,
lib/eac_ruby_utils/recursive_builder.rb,
lib/eac_ruby_utils/settings_provider.rb,
lib/eac_ruby_utils/arguments_consumer.rb,
lib/eac_ruby_utils/common_constructor.rb,
lib/eac_ruby_utils/envs/ssh_env/quiet.rb,
lib/eac_ruby_utils/rspec/stub_speaker.rb,
lib/eac_ruby_utils/enumerables_methods.rb,
lib/eac_ruby_utils/rspec/default_setup.rb,
lib/eac_ruby_utils/rspec/setup_manager.rb,
lib/eac_ruby_utils/static_method_class.rb,
lib/eac_ruby_utils/envs/command/envvars.rb,
lib/eac_ruby_utils/envs/execution_error.rb,
lib/eac_ruby_utils/listable/string_list.rb,
lib/eac_ruby_utils/listable/symbol_list.rb,
lib/eac_ruby_utils/require_sub/sub_file.rb,
lib/eac_ruby_utils/envs/execution_result.rb,
lib/eac_ruby_utils/envs/ssh_env/terminal.rb,
lib/eac_ruby_utils/listable/integer_list.rb,
lib/eac_ruby_utils/envs/composite_command.rb,
lib/eac_ruby_utils/fs/clearable_directory.rb,
lib/eac_ruby_utils/listable/class_methods.rb,
lib/eac_ruby_utils/acts_as_instance_method.rb,
lib/eac_ruby_utils/ruby/on_replace_objects.rb,
lib/eac_ruby_utils/envs/base_command/concat.rb,
lib/eac_ruby_utils/rspec/setup/conditionals.rb,
lib/eac_ruby_utils/listable/instance_methods.rb,
lib/eac_ruby_utils/module_ancestors_variable.rb,
lib/eac_ruby_utils/rspec/setup/setup_manager.rb,
lib/eac_ruby_utils/ruby/on_clean_environment.rb,
lib/eac_ruby_utils/common_concern/class_setup.rb,
lib/eac_ruby_utils/envs/command/extra_options.rb,
lib/eac_ruby_utils/envs/ssh_env/dasho_options.rb,
lib/eac_ruby_utils/envs/ssh_env/identity_file.rb,
lib/eac_ruby_utils/unimplemented_method_error.rb,
lib/eac_ruby_utils/common_concern/module_setup.rb,
lib/eac_ruby_utils/envs/base_command/debugging.rb,
lib/eac_ruby_utils/envs/base_command/execution.rb,
lib/eac_ruby_utils/common_constructor/super_args.rb,
lib/eac_ruby_utils/locales/module_i18n_translate.rb,
lib/eac_ruby_utils/module_ancestors_variable/set.rb,
lib/eac_ruby_utils/acts_as_immutable/set_accessor.rb,
lib/eac_ruby_utils/module_ancestors_variable/base.rb,
lib/eac_ruby_utils/module_ancestors_variable/hash.rb,
lib/eac_ruby_utils/acts_as_immutable/base_accessor.rb,
lib/eac_ruby_utils/acts_as_immutable/class_methods.rb,
lib/eac_ruby_utils/acts_as_immutable/hash_accessor.rb,
lib/eac_ruby_utils/envs/base_command/extra_options.rb,
lib/eac_ruby_utils/settings_provider/setting_value.rb,
lib/eac_ruby_utils/acts_as_immutable/array_accessor.rb,
lib/eac_ruby_utils/acts_as_immutable/common_accessor.rb,
lib/eac_ruby_utils/acts_as_immutable/boolean_accessor.rb,
lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb,
lib/eac_ruby_utils/common_constructor/class_accessors.rb,
lib/eac_ruby_utils/common_constructor/class_initialize.rb,
lib/eac_ruby_utils/acts_as_immutable/enumerable_accessor.rb,
lib/eac_ruby_utils/common_constructor/instance_initialize.rb,
lib/eac_ruby_utils/envs/base_command/append_command_options.rb,
lib/eac_ruby_utils/ruby/on_replace_objects/replace_instance_method.rb
Defined Under Namespace
Modules: ActsAsAbstract, ActsAsImmutable, Contextualizable, EnumerablesMethods, Envs, Fs, Listable, LocalTimeZone, Locales, MethodClass, ModuleAncestorsVariable, RequireSub, Rspec, Ruby, SettingsProvider, SimpleCache, Speaker, StaticMethodClass
Classes: ActsAsInstanceMethod, ArgumentsConsumer, Bit, BitArray, BlankNotBlank, Boolean, ByReference, Byte, ByteArray, CommonConcern, CommonConstructor, Compact, CompareBy, Context, CustomFormat, Enum, GemsRegistry, Inflector, OptionsConsumer, RecursiveBuilder, RegexpParser, StringDelimited, Struct, UnimplementedMethodError, Wildcards, Yaml
Constant Summary
collapse
- VERSION =
'0.123.0'
Class Method Summary
collapse
Class Method Details
.patch(target, patch) ⇒ Object
5
6
7
8
9
|
# File 'lib/eac_ruby_utils/patch.rb', line 5
def patch(target, patch)
return if target.included_modules.include?(patch)
target.send(:include, patch)
end
|
.require_sub(file, options = {}) ⇒ Object