lib/eac_ruby_utils/patches/module/compare_by.rb
# frozen_string_literal: true require 'eac_ruby_utils/compare_by' class Module def compare_by(*fields) ::EacRubyUtils::CompareBy.new(fields).apply(self) end end
Source Files
- lib/eac_ruby_utils.rb
- lib/eac_ruby_utils/acts_as_abstract.rb
- lib/eac_ruby_utils/acts_as_immutable.rb
- lib/eac_ruby_utils/acts_as_immutable/array_accessor.rb
- lib/eac_ruby_utils/acts_as_immutable/base_accessor.rb
- lib/eac_ruby_utils/acts_as_immutable/boolean_accessor.rb
- lib/eac_ruby_utils/acts_as_immutable/class_methods.rb
- lib/eac_ruby_utils/acts_as_immutable/common_accessor.rb
- lib/eac_ruby_utils/acts_as_immutable/enumerable_accessor.rb
- lib/eac_ruby_utils/acts_as_immutable/hash_accessor.rb
- lib/eac_ruby_utils/acts_as_immutable/instance_methods.rb
- lib/eac_ruby_utils/acts_as_immutable/set_accessor.rb
- lib/eac_ruby_utils/acts_as_instance_method.rb
- lib/eac_ruby_utils/arguments_consumer.rb
- lib/eac_ruby_utils/bit.rb
- lib/eac_ruby_utils/bit_array.rb
- lib/eac_ruby_utils/blank_not_blank.rb
- lib/eac_ruby_utils/boolean.rb
- lib/eac_ruby_utils/by_reference.rb
- lib/eac_ruby_utils/byte.rb
- lib/eac_ruby_utils/byte_array.rb
- lib/eac_ruby_utils/common_concern.rb
- lib/eac_ruby_utils/common_concern/class_setup.rb
- lib/eac_ruby_utils/common_concern/module_setup.rb
- lib/eac_ruby_utils/common_constructor.rb
- lib/eac_ruby_utils/common_constructor/class_accessors.rb
- lib/eac_ruby_utils/common_constructor/class_initialize.rb
- lib/eac_ruby_utils/common_constructor/instance_initialize.rb
- lib/eac_ruby_utils/common_constructor/super_args.rb
- lib/eac_ruby_utils/compact.rb
- lib/eac_ruby_utils/compare_by.rb
- lib/eac_ruby_utils/context.rb
- lib/eac_ruby_utils/contextualizable.rb
- lib/eac_ruby_utils/core_ext.rb
- lib/eac_ruby_utils/custom_format.rb
- lib/eac_ruby_utils/enum.rb
- lib/eac_ruby_utils/enumerables_methods.rb
- lib/eac_ruby_utils/envs.rb
- lib/eac_ruby_utils/envs/base_command.rb
- lib/eac_ruby_utils/envs/base_command/append_command_options.rb
- lib/eac_ruby_utils/envs/base_command/concat.rb
- lib/eac_ruby_utils/envs/base_command/debugging.rb
- lib/eac_ruby_utils/envs/base_command/execution.rb
- lib/eac_ruby_utils/envs/base_command/extra_options.rb
- lib/eac_ruby_utils/envs/base_env.rb
- lib/eac_ruby_utils/envs/command.rb
- lib/eac_ruby_utils/envs/command/envvars.rb
- lib/eac_ruby_utils/envs/command/extra_options.rb
- lib/eac_ruby_utils/envs/composite_command.rb
- lib/eac_ruby_utils/envs/executable.rb
- lib/eac_ruby_utils/envs/execution_error.rb
- lib/eac_ruby_utils/envs/execution_result.rb
- lib/eac_ruby_utils/envs/file.rb
- lib/eac_ruby_utils/envs/local_env.rb
- lib/eac_ruby_utils/envs/process.rb
- lib/eac_ruby_utils/envs/spawn.rb
- lib/eac_ruby_utils/envs/ssh_env.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/envs/ssh_env/quiet.rb
- lib/eac_ruby_utils/envs/ssh_env/terminal.rb
- lib/eac_ruby_utils/fs.rb
- lib/eac_ruby_utils/fs/clearable_directory.rb
- lib/eac_ruby_utils/fs/extname.rb
- lib/eac_ruby_utils/fs/temp.rb
- lib/eac_ruby_utils/fs/temp/directory.rb
- lib/eac_ruby_utils/fs/temp/file.rb
- lib/eac_ruby_utils/gems_registry.rb
- lib/eac_ruby_utils/gems_registry/gem.rb
- lib/eac_ruby_utils/inflector.rb
- lib/eac_ruby_utils/listable.rb
- lib/eac_ruby_utils/listable/class_methods.rb
- lib/eac_ruby_utils/listable/instance_methods.rb
- lib/eac_ruby_utils/listable/integer_list.rb
- lib/eac_ruby_utils/listable/item.rb
- lib/eac_ruby_utils/listable/list.rb
- lib/eac_ruby_utils/listable/lists.rb
- lib/eac_ruby_utils/listable/string_list.rb
- lib/eac_ruby_utils/listable/symbol_list.rb
- lib/eac_ruby_utils/local_time_zone.rb
- lib/eac_ruby_utils/locales.rb
- lib/eac_ruby_utils/locales/from_all_gems.rb
- lib/eac_ruby_utils/locales/from_gem.rb
- lib/eac_ruby_utils/locales/module_i18n_translate.rb
- lib/eac_ruby_utils/method_class.rb
- lib/eac_ruby_utils/module_ancestors_variable.rb
- lib/eac_ruby_utils/module_ancestors_variable/base.rb
- lib/eac_ruby_utils/module_ancestors_variable/hash.rb
- lib/eac_ruby_utils/module_ancestors_variable/set.rb
- lib/eac_ruby_utils/options_consumer.rb
- lib/eac_ruby_utils/patch.rb
- lib/eac_ruby_utils/patches.rb
- lib/eac_ruby_utils/patches/addressable.rb
- lib/eac_ruby_utils/patches/addressable/uri.rb
- lib/eac_ruby_utils/patches/addressable/uri/query_value.rb
- lib/eac_ruby_utils/patches/class.rb
- lib/eac_ruby_utils/patches/class/abstract.rb
- lib/eac_ruby_utils/patches/class/common_constructor.rb
- lib/eac_ruby_utils/patches/class/method_class.rb
- lib/eac_ruby_utils/patches/class/self_included_modules.rb
- lib/eac_ruby_utils/patches/class/settings_provider.rb
- lib/eac_ruby_utils/patches/class/static_method_class.rb
- lib/eac_ruby_utils/patches/enumerable.rb
- lib/eac_ruby_utils/patches/enumerable/boolean_combinations.rb
- lib/eac_ruby_utils/patches/enumerator.rb
- lib/eac_ruby_utils/patches/enumerator/current.rb
- lib/eac_ruby_utils/patches/enumerator/stopped.rb
- lib/eac_ruby_utils/patches/hash.rb
- lib/eac_ruby_utils/patches/hash/if_key.rb
- lib/eac_ruby_utils/patches/hash/options_consumer.rb
- lib/eac_ruby_utils/patches/hash/sym_keys_hash.rb
- lib/eac_ruby_utils/patches/hash/to_struct.rb
- lib/eac_ruby_utils/patches/kernel.rb
- lib/eac_ruby_utils/patches/kernel/ibr.rb
- lib/eac_ruby_utils/patches/kernel/nyi.rb
- lib/eac_ruby_utils/patches/module.rb
- lib/eac_ruby_utils/patches/module/abstract_methods.rb
- lib/eac_ruby_utils/patches/module/acts_as_abstract.rb
- lib/eac_ruby_utils/patches/module/acts_as_immutable.rb
- lib/eac_ruby_utils/patches/module/acts_as_instance_method.rb
- lib/eac_ruby_utils/patches/module/common_concern.rb
- lib/eac_ruby_utils/patches/module/compare_by.rb
- lib/eac_ruby_utils/patches/module/context.rb
- lib/eac_ruby_utils/patches/module/i18n_translate.rb
- lib/eac_ruby_utils/patches/module/immutable.rb
- lib/eac_ruby_utils/patches/module/listable.rb
- lib/eac_ruby_utils/patches/module/module_parent.rb
- lib/eac_ruby_utils/patches/module/patch.rb
- lib/eac_ruby_utils/patches/module/require_sub.rb
- lib/eac_ruby_utils/patches/module/simple_cache.rb
- lib/eac_ruby_utils/patches/module/speaker.rb
- lib/eac_ruby_utils/patches/object.rb
- lib/eac_ruby_utils/patches/object/asserts.rb
- lib/eac_ruby_utils/patches/object/call_if_proc.rb
- lib/eac_ruby_utils/patches/object/compact.rb
- lib/eac_ruby_utils/patches/object/debug.rb
- lib/eac_ruby_utils/patches/object/i18n_translate.rb
- lib/eac_ruby_utils/patches/object/if_nil.rb
- lib/eac_ruby_utils/patches/object/if_present.rb
- lib/eac_ruby_utils/patches/object/if_respond.rb
- lib/eac_ruby_utils/patches/object/recursive_build.rb
- lib/eac_ruby_utils/patches/object/to_bool.rb
- lib/eac_ruby_utils/patches/object/to_pathname.rb
- lib/eac_ruby_utils/patches/object/to_sym_by_eac.rb
- lib/eac_ruby_utils/patches/object/to_uri.rb
- lib/eac_ruby_utils/patches/pathname.rb
- lib/eac_ruby_utils/patches/pathname/assert_parent.rb
- lib/eac_ruby_utils/patches/pathname/basename_noext.rb
- lib/eac_ruby_utils/patches/pathname/basename_sub.rb
- lib/eac_ruby_utils/patches/pathname/child_of.rb
- lib/eac_ruby_utils/patches/pathname/if_exist.rb
- lib/eac_ruby_utils/patches/pathname/mkpath_s.rb
- lib/eac_ruby_utils/patches/pathname/parent_n.rb
- lib/eac_ruby_utils/patches/pathname/readlink_r.rb
- lib/eac_ruby_utils/patches/pathname/reqdir_glob.rb
- lib/eac_ruby_utils/patches/regexp.rb
- lib/eac_ruby_utils/patches/regexp/if_match.rb
- lib/eac_ruby_utils/patches/regexp/to_parser.rb
- lib/eac_ruby_utils/patches/string.rb
- lib/eac_ruby_utils/patches/string/delimited.rb
- lib/eac_ruby_utils/patches/string/inflector.rb
- lib/eac_ruby_utils/patches/time.rb
- lib/eac_ruby_utils/patches/time/required_zone.rb
- lib/eac_ruby_utils/recursive_builder.rb
- lib/eac_ruby_utils/regexp_parser.rb
- lib/eac_ruby_utils/require_sub.rb
- lib/eac_ruby_utils/require_sub/base.rb
- lib/eac_ruby_utils/require_sub/sub_file.rb
- lib/eac_ruby_utils/rspec.rb
- lib/eac_ruby_utils/rspec/default_setup.rb
- lib/eac_ruby_utils/rspec/setup.rb
- lib/eac_ruby_utils/rspec/setup/conditionals.rb
- lib/eac_ruby_utils/rspec/setup/setup_manager.rb
- lib/eac_ruby_utils/rspec/setup_manager.rb
- lib/eac_ruby_utils/rspec/stub_speaker.rb
- lib/eac_ruby_utils/ruby.rb
- lib/eac_ruby_utils/ruby/command.rb
- lib/eac_ruby_utils/ruby/on_clean_environment.rb
- lib/eac_ruby_utils/ruby/on_replace_objects.rb
- lib/eac_ruby_utils/ruby/on_replace_objects/replace_instance_method.rb
- lib/eac_ruby_utils/settings_provider.rb
- lib/eac_ruby_utils/settings_provider/setting_value.rb
- lib/eac_ruby_utils/simple_cache.rb
- lib/eac_ruby_utils/speaker.rb
- lib/eac_ruby_utils/speaker/receiver.rb
- lib/eac_ruby_utils/speaker/sender.rb
- lib/eac_ruby_utils/static_method_class.rb
- lib/eac_ruby_utils/string_delimited.rb
- lib/eac_ruby_utils/struct.rb
- lib/eac_ruby_utils/unimplemented_method_error.rb
- lib/eac_ruby_utils/version.rb
- lib/eac_ruby_utils/wildcards.rb
- lib/eac_ruby_utils/yaml.rb