Module: Rudash
- Defined in:
- lib/utils/index.rb,
lib/version.rb,
lib/rudash/at.rb,
lib/rudash/eq.rb,
lib/rudash/get.rb,
lib/rudash/map.rb,
lib/rudash/nil.rb,
lib/rudash/nth.rb,
lib/rudash/set.rb,
lib/rudash/each.rb,
lib/rudash/find.rb,
lib/rudash/flip.rb,
lib/rudash/flow.rb,
lib/rudash/hash.rb,
lib/rudash/head.rb,
lib/rudash/join.rb,
lib/rudash/keys.rb,
lib/rudash/last.rb,
lib/rudash/pick.rb,
lib/rudash/size.rb,
lib/rudash/some.rb,
lib/rudash/tail.rb,
lib/rudash/take.rb,
lib/rudash/uniq.rb,
lib/rudash/array.rb,
lib/rudash/chain.rb,
lib/rudash/curry.rb,
lib/rudash/empty.rb,
lib/rudash/equal.rb,
lib/rudash/every.rb,
lib/rudash/range.rb,
lib/rudash/slice.rb,
lib/rudash/union.rb,
lib/rudash/unset.rb,
lib/rudash/concat.rb,
lib/rudash/filter.rb,
lib/rudash/negate.rb,
lib/rudash/number.rb,
lib/rudash/reduce.rb,
lib/rudash/reject.rb,
lib/rudash/remove.rb,
lib/rudash/string.rb,
lib/rudash/update.rb,
lib/rudash/compact.rb,
lib/rudash/initial.rb,
lib/rudash/reverse.rb,
lib/rudash/without.rb,
lib/rudash/group_by.rb,
lib/rudash/identity.rb,
lib/rudash/ends_with.rb,
lib/rudash/find_last.rb,
lib/rudash/capitalize.rb,
lib/rudash/difference.rb,
lib/rudash/drop_right.rb,
lib/rudash/each_right.rb,
lib/rudash/flow_right.rb,
lib/rudash/intersection.rb,
lib/rudash/reduce_right.rb,
lib/utils/chain_wrapper.rb,
lib/utils/path_resolver.rb,
lib/utils/subset_deep_match.rb,
lib/utils/dynamic_args_count.rb,
lib/utils/nested_path_creator.rb
Overview
This module will create the nested path when using R_.set on not existing paths If we’ve a hash as { a: 1 } and we run R_.set(hash, ‘a.b.c.d’, 5) then we want to create the whole path [‘a’, ‘b’, ‘c’, ‘d’] as embedded hashes. If we have some string that matches a number then we create an array.
Defined Under Namespace
Modules: ChainUtils, Default, DynamicArgsCount, NestedPathCreator, PathResolver, SubsetDeepMatch, Utils
Constant Summary collapse
- VERSION =
'4.1.2'.freeze