facets 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +5 -2
- data/ProjectInfo +21 -12
- data/README +73 -44
- data/Rakefile +11 -11
- data/data/facets/index.yml +1 -0
- data/lib/facet/annotation.rb +1 -0
- data/lib/facet/ansicode.rb +1 -0
- data/lib/facet/array.rb +1 -34
- data/lib/facet/array/at_rand.rb +1 -52
- data/lib/facet/array/body.rb +1 -2
- data/lib/facet/array/delete_unless.rb +1 -35
- data/lib/facet/array/delete_values.rb +1 -38
- data/lib/facet/array/delete_values_at.rb +1 -57
- data/lib/facet/array/each_with_key.rb +1 -9
- data/lib/facet/array/first.rb +1 -84
- data/lib/facet/array/foot.rb +1 -2
- data/lib/facet/array/head.rb +1 -80
- data/lib/facet/array/last.rb +1 -2
- data/lib/facet/array/last_index.rb +1 -35
- data/lib/facet/array/merge.rb +1 -40
- data/lib/facet/array/mid.rb +1 -50
- data/lib/facet/array/middle.rb +1 -45
- data/lib/facet/array/op_fetch.rb +1 -40
- data/lib/facet/array/op_mod.rb +1 -16
- data/lib/facet/array/op_store.rb +1 -47
- data/lib/facet/array/pick.rb +1 -68
- data/lib/facet/array/pos.rb +1 -39
- data/lib/facet/array/pull.rb +1 -37
- data/lib/facet/array/rand_index.rb +1 -30
- data/lib/facet/array/rand_subset.rb +1 -56
- data/lib/facet/array/range.rb +1 -47
- data/lib/facet/array/rotate.rb +1 -67
- data/lib/facet/array/select.rb +1 -37
- data/lib/facet/array/shuffle.rb +1 -66
- data/lib/facet/array/slap.rb +1 -37
- data/lib/facet/array/store.rb +1 -7
- data/lib/facet/array/tail.rb +1 -2
- data/lib/facet/array/thru.rb +1 -38
- data/lib/facet/array/to_b.rb +1 -31
- data/lib/facet/array/to_h.rb +1 -57
- data/lib/facet/array/to_hash.rb +1 -46
- data/lib/facet/array/unzip.rb +1 -20
- data/lib/facet/association.rb +1 -0
- data/lib/facet/basicobject.rb +1 -0
- data/lib/facet/bbcode.rb +1 -0
- data/lib/facet/binaryreader.rb +1 -0
- data/lib/facet/binding.rb +1 -14
- data/lib/facet/binding/__DIR__.rb +1 -2
- data/lib/facet/binding/__FILE__.rb +1 -2
- data/lib/facet/binding/__LINE__.rb +1 -58
- data/lib/facet/binding/call_stack.rb +1 -42
- data/lib/facet/binding/called.rb +1 -41
- data/lib/facet/binding/caller.rb +1 -42
- data/lib/facet/binding/defined.rb +1 -41
- data/lib/facet/binding/eval.rb +1 -42
- data/lib/facet/binding/local_variables.rb +1 -45
- data/lib/facet/binding/method_name.rb +1 -48
- data/lib/facet/binding/op_fetch.rb +1 -45
- data/lib/facet/binding/op_store.rb +1 -46
- data/lib/facet/binding/self.rb +1 -41
- data/lib/facet/binding/self/of_caller.rb +1 -122
- data/lib/facet/bitmask.rb +1 -0
- data/lib/facet/blankslate.rb +1 -0
- data/lib/facet/bytes.rb +1 -0
- data/lib/facet/class.rb +1 -7
- data/lib/facet/class/by_name.rb +1 -1
- data/lib/facet/class/descendents.rb +1 -44
- data/lib/facet/class/method_name.rb +1 -33
- data/lib/facet/class/remove_descendents.rb +1 -46
- data/lib/facet/class/remove_subclasses.rb +1 -2
- data/lib/facet/class/subclasses.rb +1 -2
- data/lib/facet/class/unix_path.rb +1 -34
- data/lib/facet/classinherit.rb +1 -0
- data/lib/facet/classmethods.rb +1 -0
- data/lib/facet/cloneable.rb +1 -0
- data/lib/facet/comparable.rb +1 -5
- data/lib/facet/comparable/at_least.rb +1 -53
- data/lib/facet/comparable/at_most.rb +1 -2
- data/lib/facet/comparable/cap.rb +1 -2
- data/lib/facet/comparable/clip.rb +1 -72
- data/lib/facet/comparable/cmp.rb +1 -38
- data/lib/facet/consoleapp.rb +1 -0
- data/lib/facet/continuation.rb +1 -1
- data/lib/facet/continuation/self/create.rb +1 -71
- data/lib/facet/coroutine.rb +1 -0
- data/lib/facet/crypt.rb +1 -0
- data/lib/facet/date.rb +1 -0
- data/lib/facet/date/days_in_month.rb +1 -42
- data/lib/facet/date/days_of_month.rb +1 -34
- data/lib/facet/date/stamp.rb +1 -52
- data/lib/facet/date/to_date.rb +1 -36
- data/lib/facet/date/to_s.rb +1 -33
- data/lib/facet/date/to_time.rb +1 -36
- data/lib/facet/dictionary.rb +1 -0
- data/lib/facet/dir.rb +1 -4
- data/lib/facet/dir/self/ancestor.rb +1 -33
- data/lib/facet/dir/self/ascend.rb +1 -56
- data/lib/facet/dir/self/ls_r.rb +1 -76
- data/lib/facet/dir/self/recurse.rb +1 -2
- data/lib/facet/downloader.rb +1 -0
- data/lib/facet/enumerable.rb +1 -39
- data/lib/facet/enumerable/collect_with_counter.rb +1 -2
- data/lib/facet/enumerable/collect_with_index.rb +1 -51
- data/lib/facet/enumerable/commonality.rb +1 -63
- data/lib/facet/enumerable/compact_collect.rb +1 -50
- data/lib/facet/enumerable/compact_map.rb +1 -2
- data/lib/facet/enumerable/cross.rb +1 -44
- data/lib/facet/enumerable/each_by.rb +1 -2
- data/lib/facet/enumerable/each_combination.rb +1 -59
- data/lib/facet/enumerable/each_pair.rb +1 -50
- data/lib/facet/enumerable/each_permutation.rb +1 -2
- data/lib/facet/enumerable/each_slice.rb +1 -131
- data/lib/facet/enumerable/each_unique_pair.rb +1 -66
- data/lib/facet/enumerable/each_with_counter.rb +1 -8
- data/lib/facet/enumerable/elementwise.rb +1 -2
- data/lib/facet/enumerable/entropy.rb +1 -52
- data/lib/facet/enumerable/every.rb +1 -65
- data/lib/facet/enumerable/ew.rb +1 -64
- data/lib/facet/enumerable/filter_collect.rb +1 -58
- data/lib/facet/enumerable/filter_map.rb +1 -2
- data/lib/facet/enumerable/find_collisions.rb +1 -41
- data/lib/facet/enumerable/frequency.rb +1 -39
- data/lib/facet/enumerable/graph.rb +1 -59
- data/lib/facet/enumerable/ideal_entropy.rb +1 -49
- data/lib/facet/enumerable/map_with_counter.rb +1 -2
- data/lib/facet/enumerable/map_with_index.rb +1 -2
- data/lib/facet/enumerable/none.rb +1 -56
- data/lib/facet/enumerable/nonuniq.rb +1 -39
- data/lib/facet/enumerable/occur.rb +1 -62
- data/lib/facet/enumerable/one.rb +1 -65
- data/lib/facet/enumerable/op_pow.rb +1 -38
- data/lib/facet/enumerable/partition_by.rb +1 -55
- data/lib/facet/enumerable/permute.rb +1 -135
- data/lib/facet/enumerable/probability.rb +1 -59
- data/lib/facet/enumerable/project.rb +1 -11
- data/lib/facet/enumerable/self/combinations.rb +1 -68
- data/lib/facet/enumerable/self/cross.rb +1 -79
- data/lib/facet/enumerable/to_h.rb +1 -50
- data/lib/facet/enumerable/uniq_by.rb +1 -39
- data/lib/facet/enumerable/where.rb +1 -12
- data/lib/facet/enumerablepass.rb +1 -0
- data/lib/facet/expirable.rb +1 -0
- data/lib/facet/file.rb +1 -5
- data/lib/facet/file/self/create.rb +1 -52
- data/lib/facet/file/self/open_as_string.rb +1 -81
- data/lib/facet/file/self/read_list.rb +1 -47
- data/lib/facet/file/self/sanitize.rb +1 -50
- data/lib/facet/file/self/split_all.rb +1 -36
- data/lib/facet/filelist.rb +1 -0
- data/lib/facet/fileutils.rb +1 -0
- data/lib/facet/fileutils/head.rb +1 -2
- data/lib/facet/fileutils/safe_ln.rb +1 -38
- data/lib/facet/fileutils/slice.rb +1 -152
- data/lib/facet/fileutils/split_all.rb +1 -29
- data/lib/facet/fileutils/tail.rb +1 -2
- data/lib/facet/fileutils/wc.rb +1 -128
- data/lib/facet/fileutils/whereis.rb +1 -76
- data/lib/facet/fileutils/which.rb +1 -117
- data/lib/facet/float.rb +1 -3
- data/lib/facet/float/approx.rb +1 -42
- data/lib/facet/float/round_at.rb +1 -72
- data/lib/facet/float/round_to.rb +1 -73
- data/lib/facet/floatstring.rb +1 -0
- data/lib/facet/functor.rb +1 -41
- data/lib/facet/gem.rb +1 -3
- data/lib/facet/gem/self/active.rb +1 -9
- data/lib/facet/gem/self/gempath.rb +1 -10
- data/lib/facet/gem/self/gemspec.rb +1 -10
- data/lib/facet/hash.rb +1 -40
- data/lib/facet/hash/alias.rb +1 -54
- data/lib/facet/hash/assert_has_keys.rb +1 -38
- data/lib/facet/hash/assert_has_only_keys.rb +1 -38
- data/lib/facet/hash/at.rb +1 -26
- data/lib/facet/hash/collate.rb +1 -53
- data/lib/facet/hash/delete_unless.rb +1 -15
- data/lib/facet/hash/each.rb +1 -61
- data/lib/facet/hash/each_with_index.rb +1 -35
- data/lib/facet/hash/each_with_key.rb +1 -32
- data/lib/facet/hash/graph.rb +1 -31
- data/lib/facet/hash/has_keys.rb +1 -37
- data/lib/facet/hash/has_only_keys.rb +1 -37
- data/lib/facet/hash/inverse.rb +1 -51
- data/lib/facet/hash/join.rb +1 -19
- data/lib/facet/hash/keys_to_iv.rb +1 -60
- data/lib/facet/hash/keys_to_s.rb +1 -80
- data/lib/facet/hash/keys_to_sym.rb +1 -91
- data/lib/facet/hash/op_fetch.rb +1 -146
- data/lib/facet/hash/op_lshift.rb +1 -28
- data/lib/facet/hash/op_store.rb +1 -2
- data/lib/facet/hash/rand_key.rb +1 -47
- data/lib/facet/hash/rand_pair.rb +1 -50
- data/lib/facet/hash/rand_value.rb +1 -60
- data/lib/facet/hash/replace_each.rb +1 -33
- data/lib/facet/hash/self/zipnew.rb +1 -37
- data/lib/facet/hash/shuffle.rb +1 -53
- data/lib/facet/hash/slice.rb +1 -33
- data/lib/facet/hash/stringify_keys.rb +1 -2
- data/lib/facet/hash/swap.rb +1 -36
- data/lib/facet/hash/swapkey.rb +1 -44
- data/lib/facet/hash/symoblize_keys.rb +1 -2
- data/lib/facet/hash/to_h.rb +1 -35
- data/lib/facet/hash/to_ostruct.rb +1 -40
- data/lib/facet/hash/to_ostruct_recurse.rb +1 -45
- data/lib/facet/hash/traverse.rb +1 -63
- data/lib/facet/hash/update_each.rb +1 -43
- data/lib/facet/hash/update_keys.rb +1 -31
- data/lib/facet/hash/update_values.rb +1 -32
- data/lib/facet/hash/variablize_keys.rb +1 -2
- data/lib/facet/hash/weave.rb +1 -88
- data/lib/facet/heap.rb +1 -0
- data/lib/facet/inflect.rb +1 -70
- data/lib/facet/inheritor.rb +1 -0
- data/lib/facet/integer.rb +1 -9
- data/lib/facet/integer/even.rb +1 -2
- data/lib/facet/integer/fac.rb +1 -2
- data/lib/facet/integer/fact.rb +1 -2
- data/lib/facet/integer/factorial.rb +1 -61
- data/lib/facet/integer/multiple.rb +1 -69
- data/lib/facet/integer/odd.rb +1 -2
- data/lib/facet/integer/ordinal.rb +1 -41
- data/lib/facet/integer/times_collect.rb +1 -39
- data/lib/facet/integer/times_map.rb +1 -2
- data/lib/facet/interval.rb +1 -0
- data/lib/facet/ioredirect.rb +1 -0
- data/lib/facet/kernel.rb +1 -68
- data/lib/facet/kernel/__DIR__.rb +1 -11
- data/lib/facet/kernel/__class__.rb +1 -31
- data/lib/facet/kernel/__meta__.rb +1 -28
- data/lib/facet/kernel/adhoc.rb +1 -11
- data/lib/facet/kernel/as.rb +1 -91
- data/lib/facet/kernel/assign_from.rb +1 -82
- data/lib/facet/kernel/assign_with.rb +1 -75
- data/lib/facet/kernel/autoreload.rb +1 -124
- data/lib/facet/kernel/autoreload_files.rb +1 -2
- data/lib/facet/kernel/autoreload_glob.rb +1 -3
- data/lib/facet/kernel/bool.rb +1 -77
- data/lib/facet/kernel/bug.rb +1 -39
- data/lib/facet/kernel/call_stack.rb +1 -59
- data/lib/facet/kernel/called.rb +1 -40
- data/lib/facet/kernel/complete.rb +1 -6
- data/lib/facet/kernel/constant.rb +1 -52
- data/lib/facet/kernel/copy.rb +1 -48
- data/lib/facet/kernel/deep_copy.rb +1 -49
- data/lib/facet/kernel/demo.rb +1 -46
- data/lib/facet/kernel/eigenclass.rb +1 -17
- data/lib/facet/kernel/false.rb +1 -2
- data/lib/facet/kernel/fn.rb +1 -33
- data/lib/facet/kernel/generate_method_name.rb +1 -39
- data/lib/facet/kernel/get_by_id.rb +1 -33
- data/lib/facet/kernel/here.rb +1 -34
- data/lib/facet/kernel/in.rb +1 -35
- data/lib/facet/kernel/instance_assign.rb +1 -25
- data/lib/facet/kernel/instvar.rb +1 -13
- data/lib/facet/kernel/is.rb +1 -5
- data/lib/facet/kernel/maybe.rb +1 -41
- data/lib/facet/kernel/me.rb +1 -17
- data/lib/facet/kernel/meta.rb +1 -2
- data/lib/facet/kernel/metaclass.rb +1 -42
- data/lib/facet/kernel/method.rb +1 -76
- data/lib/facet/kernel/method_name.rb +1 -49
- data/lib/facet/kernel/methods.rb +1 -79
- data/lib/facet/kernel/nack.rb +1 -12
- data/lib/facet/kernel/new.rb +1 -40
- data/lib/facet/kernel/object_class.rb +1 -31
- data/lib/facet/kernel/object_hexid.rb +1 -35
- data/lib/facet/kernel/op_esc.rb +1 -37
- data/lib/facet/kernel/own.rb +1 -17
- data/lib/facet/kernel/p.rb +1 -12
- data/lib/facet/kernel/require_all.rb +1 -44
- data/lib/facet/kernel/require_esc.rb +1 -42
- data/lib/facet/kernel/require_facet.rb +1 -41
- data/lib/facet/kernel/require_local.rb +1 -25
- data/lib/facet/kernel/resc.rb +1 -32
- data/lib/facet/kernel/returning.rb +1 -49
- data/lib/facet/kernel/send_as.rb +1 -34
- data/lib/facet/kernel/set_from.rb +1 -69
- data/lib/facet/kernel/set_with.rb +1 -74
- data/lib/facet/kernel/silence_warnings.rb +1 -2
- data/lib/facet/kernel/silently.rb +1 -41
- data/lib/facet/kernel/singleton.rb +1 -47
- data/lib/facet/kernel/superior.rb +1 -53
- data/lib/facet/kernel/supermethod.rb +1 -44
- data/lib/facet/kernel/this.rb +1 -33
- data/lib/facet/kernel/to_b.rb +1 -41
- data/lib/facet/kernel/to_bool.rb +1 -47
- data/lib/facet/kernel/true.rb +1 -2
- data/lib/facet/kernel/unuri.rb +1 -2
- data/lib/facet/kernel/uri.rb +1 -38
- data/lib/facet/kernel/val.rb +1 -52
- data/lib/facet/kernel/warn_with_line.rb +1 -30
- data/lib/facet/kernel/with_accessor.rb +1 -94
- data/lib/facet/kernel/with_reader.rb +1 -2
- data/lib/facet/kernel/with_writer.rb +1 -2
- data/lib/facet/lisp.rb +1 -0
- data/lib/facet/lisp_format.rb +1 -0
- data/lib/facet/logger.rb +1 -0
- data/lib/facet/logger/format.rb +1 -28
- data/lib/facet/logger/format_message.rb +1 -1
- data/lib/facet/lrucache.rb +1 -0
- data/lib/facet/matchdata.rb +1 -3
- data/lib/facet/matchdata/match.rb +1 -37
- data/lib/facet/matchdata/matchset.rb +1 -2
- data/lib/facet/matchdata/matchtree.rb +1 -62
- data/lib/facet/mathconstants.rb +1 -0
- data/lib/facet/methodprobe.rb +1 -0
- data/lib/facet/mock.rb +1 -0
- data/lib/facet/module.rb +1 -40
- data/lib/facet/module/abstract.rb +1 -50
- data/lib/facet/module/alias_module_function.rb +1 -57
- data/lib/facet/module/ancestor.rb +1 -38
- data/lib/facet/module/attr.rb +1 -23
- data/lib/facet/module/attr_setter.rb +1 -48
- data/lib/facet/module/attr_tester.rb +1 -56
- data/lib/facet/module/basename.rb +1 -39
- data/lib/facet/module/by_name.rb +1 -68
- data/lib/facet/module/cattr_accessor.rb +1 -141
- data/lib/facet/module/cattr_reader.rb +1 -2
- data/lib/facet/module/cattr_writer.rb +1 -2
- data/lib/facet/module/clone_removing.rb +1 -2
- data/lib/facet/module/clone_renaming.rb +1 -2
- data/lib/facet/module/clone_using.rb +1 -87
- data/lib/facet/module/dirname.rb +1 -42
- data/lib/facet/module/equate_on.rb +1 -70
- data/lib/facet/module/generate_instance_method_name.rb +1 -47
- data/lib/facet/module/include_as.rb +1 -102
- data/lib/facet/module/initializer.rb +1 -65
- data/lib/facet/module/instance_methods.rb +1 -186
- data/lib/facet/module/integrate.rb +1 -51
- data/lib/facet/module/is.rb +1 -34
- data/lib/facet/module/memoize.rb +1 -95
- data/lib/facet/module/modspace.rb +1 -43
- data/lib/facet/module/namespace.rb +1 -61
- data/lib/facet/module/nesting.rb +1 -45
- data/lib/facet/module/redef.rb +1 -31
- data/lib/facet/module/redefine_method.rb +1 -57
- data/lib/facet/module/redirect.rb +1 -30
- data/lib/facet/module/redirect_method.rb +1 -64
- data/lib/facet/module/remove.rb +1 -29
- data/lib/facet/module/rename.rb +1 -31
- data/lib/facet/module/rename_method.rb +1 -38
- data/lib/facet/module/revisal.rb +1 -49
- data/lib/facet/module/shadow_all.rb +1 -17
- data/lib/facet/module/shadow_method.rb +1 -42
- data/lib/facet/module/sort_on.rb +1 -73
- data/lib/facet/module/undef.rb +1 -29
- data/lib/facet/module/wrap.rb +1 -30
- data/lib/facet/module/wrap_method.rb +1 -48
- data/lib/facet/multipliers.rb +1 -0
- data/lib/facet/multiton.rb +1 -0
- data/lib/facet/nackclass.rb +1 -0
- data/lib/facet/nil_as_emptiness.rb +1 -34
- data/lib/facet/nilclass.rb +1 -7
- data/lib/facet/nilclass/empty.rb +1 -32
- data/lib/facet/nilclass/include.rb +1 -32
- data/lib/facet/nilclass/length.rb +1 -2
- data/lib/facet/nilclass/op_fetch.rb +1 -37
- data/lib/facet/nilclass/size.rb +1 -44
- data/lib/facet/nilclass/to_f.rb +1 -32
- data/lib/facet/nilclass/to_h.rb +1 -33
- data/lib/facet/nilcomparable.rb +1 -0
- data/lib/facet/nullclass.rb +1 -0
- data/lib/facet/numeric.rb +1 -5
- data/lib/facet/numeric/ceil_multiple.rb +1 -40
- data/lib/facet/numeric/pred.rb +1 -2
- data/lib/facet/numeric/succ.rb +1 -69
- data/lib/facet/numeric/to_b.rb +1 -38
- data/lib/facet/one.rb +1 -0
- data/lib/facet/openobject.rb +1 -0
- data/lib/facet/orderedhash.rb +1 -0
- data/lib/facet/ormsupport.rb +1 -0
- data/lib/facet/ostruct.rb +1 -0
- data/lib/facet/ostruct/__merge__.rb +1 -52
- data/lib/facet/ostruct/__table__.rb +1 -17
- data/lib/facet/ostruct/__update__.rb +1 -45
- data/lib/facet/ostruct/op_fetch.rb +1 -40
- data/lib/facet/ostruct/op_store.rb +1 -42
- data/lib/facet/ostruct/to_h.rb +1 -8
- data/lib/facet/overload.rb +1 -0
- data/lib/facet/paramix.rb +1 -0
- data/lib/facet/pathlist.rb +1 -0
- data/lib/facet/pathname.rb +1 -2
- data/lib/facet/pathname/ascend.rb +1 -22
- data/lib/facet/pathname/descend.rb +1 -20
- data/lib/facet/pool.rb +1 -0
- data/lib/facet/preinitialize.rb +1 -0
- data/lib/facet/proc.rb +1 -3
- data/lib/facet/proc/compose.rb +1 -62
- data/lib/facet/proc/op_mul.rb +1 -2
- data/lib/facet/proc/to_method.rb +1 -74
- data/lib/facet/progressbar.rb +1 -0
- data/lib/facet/promoteself.rb +1 -0
- data/lib/facet/quaternion.rb +1 -0
- data/lib/facet/random.rb +1 -21
- data/lib/facet/range.rb +1 -4
- data/lib/facet/range/to_r.rb +1 -32
- data/lib/facet/range/to_range.rb +1 -36
- data/lib/facet/range/umbrella.rb +1 -67
- data/lib/facet/range/within.rb +1 -44
- data/lib/facet/reference.rb +1 -0
- data/lib/facet/regexp.rb +1 -3
- data/lib/facet/regexp/arity.rb +1 -41
- data/lib/facet/regexp/to_re.rb +1 -38
- data/lib/facet/regexp/to_regexp.rb +1 -36
- data/lib/facet/rtals.rb +1 -0
- data/lib/facet/semaphore.rb +1 -0
- data/lib/facet/snapshot.rb +1 -0
- data/lib/facet/stateparser.rb +1 -0
- data/lib/facet/statichash.rb +1 -0
- data/lib/facet/string.rb +1 -91
- data/lib/facet/string/align_center.rb +1 -87
- data/lib/facet/string/align_left.rb +1 -2
- data/lib/facet/string/align_right.rb +1 -2
- data/lib/facet/string/at.rb +1 -8
- data/lib/facet/string/at_rand.rb +1 -65
- data/lib/facet/string/basename.rb +1 -48
- data/lib/facet/string/blank.rb +1 -36
- data/lib/facet/string/bracket.rb +1 -70
- data/lib/facet/string/brief.rb +1 -33
- data/lib/facet/string/bytes.rb +1 -19
- data/lib/facet/string/camelcase.rb +1 -58
- data/lib/facet/string/camelize.rb +1 -35
- data/lib/facet/string/capitalized.rb +1 -38
- data/lib/facet/string/chars.rb +1 -34
- data/lib/facet/string/cmp.rb +1 -43
- data/lib/facet/string/demodulize.rb +1 -40
- data/lib/facet/string/dequote.rb +1 -29
- data/lib/facet/string/downcase.rb +1 -37
- data/lib/facet/string/dresner.rb +1 -49
- data/lib/facet/string/each_char.rb +1 -35
- data/lib/facet/string/each_word.rb +1 -50
- data/lib/facet/string/ends_with.rb +1 -2
- data/lib/facet/string/first.rb +1 -94
- data/lib/facet/string/first_char.rb +1 -20
- data/lib/facet/string/fold.rb +1 -67
- data/lib/facet/string/format.rb +1 -17
- data/lib/facet/string/frequency.rb +1 -39
- data/lib/facet/string/humanize.rb +1 -31
- data/lib/facet/string/indent.rb +1 -68
- data/lib/facet/string/index_all.rb +1 -40
- data/lib/facet/string/last.rb +1 -94
- data/lib/facet/string/last_char.rb +1 -22
- data/lib/facet/string/line_wrap.rb +1 -77
- data/lib/facet/string/lines.rb +1 -33
- data/lib/facet/string/lowercase.rb +1 -32
- data/lib/facet/string/margin.rb +1 -138
- data/lib/facet/string/methodize.rb +1 -44
- data/lib/facet/string/modulize.rb +1 -44
- data/lib/facet/string/mscan.rb +1 -42
- data/lib/facet/string/natcmp.rb +1 -108
- data/lib/facet/string/nchar.rb +1 -45
- data/lib/facet/string/ordinal.rb +1 -16
- data/lib/facet/string/pathize.rb +1 -46
- data/lib/facet/string/plural.rb +1 -2
- data/lib/facet/string/pop.rb +1 -54
- data/lib/facet/string/probability.rb +1 -34
- data/lib/facet/string/pull.rb +1 -17
- data/lib/facet/string/push.rb +1 -44
- data/lib/facet/string/quote.rb +1 -68
- data/lib/facet/string/rand_byte.rb +1 -55
- data/lib/facet/string/rand_index.rb +1 -29
- data/lib/facet/string/range.rb +1 -37
- data/lib/facet/string/range_all.rb +1 -48
- data/lib/facet/string/range_of_line.rb +1 -42
- data/lib/facet/string/regesc.rb +1 -32
- data/lib/facet/string/self/format.rb +1 -17
- data/lib/facet/string/self/interpolate.rb +1 -31
- data/lib/facet/string/self/patterns.rb +1 -51
- data/lib/facet/string/self/rand_letter.rb +1 -34
- data/lib/facet/string/self/random.rb +1 -37
- data/lib/facet/string/shatter.rb +1 -45
- data/lib/facet/string/shell_escape.rb +1 -0
- data/lib/facet/string/shift.rb +1 -42
- data/lib/facet/string/shuffle.rb +1 -42
- data/lib/facet/string/similarity.rb +1 -108
- data/lib/facet/string/singular.rb +1 -117
- data/lib/facet/string/slap.rb +1 -44
- data/lib/facet/string/soundex.rb +1 -102
- data/lib/facet/string/starts_with.rb +1 -24
- data/lib/facet/string/succ.rb +1 -38
- data/lib/facet/string/tab.rb +1 -2
- data/lib/facet/string/tabto.rb +1 -2
- data/lib/facet/string/to_a.rb +1 -35
- data/lib/facet/string/to_arr.rb +1 -55
- data/lib/facet/string/to_b.rb +1 -64
- data/lib/facet/string/to_const.rb +1 -39
- data/lib/facet/string/to_date.rb +1 -35
- data/lib/facet/string/to_proc.rb +1 -54
- data/lib/facet/string/to_re.rb +1 -46
- data/lib/facet/string/to_rx.rb +1 -2
- data/lib/facet/string/to_time.rb +1 -34
- data/lib/facet/string/unbracket.rb +1 -46
- data/lib/facet/string/underscore.rb +1 -18
- data/lib/facet/string/unix_crypt.rb +1 -41
- data/lib/facet/string/unpack.rb +1 -45
- data/lib/facet/string/unshift.rb +1 -42
- data/lib/facet/string/upcase.rb +1 -45
- data/lib/facet/string/uppercase.rb +1 -2
- data/lib/facet/string/whitespace.rb +1 -27
- data/lib/facet/string/word_filter.rb +1 -61
- data/lib/facet/string/word_wrap.rb +1 -90
- data/lib/facet/string/words.rb +1 -45
- data/lib/facet/string_as_array.rb +1 -16
- data/lib/facet/symbol.rb +1 -13
- data/lib/facet/symbol/camelcase.rb +1 -42
- data/lib/facet/symbol/camelize.rb +1 -33
- data/lib/facet/symbol/capitalize.rb +1 -31
- data/lib/facet/symbol/capitalized.rb +1 -33
- data/lib/facet/symbol/downcase.rb +1 -36
- data/lib/facet/symbol/not.rb +1 -40
- data/lib/facet/symbol/pad.rb +1 -43
- data/lib/facet/symbol/succ.rb +1 -42
- data/lib/facet/symbol/to_const.rb +1 -40
- data/lib/facet/symbol/to_proc.rb +1 -45
- data/lib/facet/symbol/to_str.rb +1 -39
- data/lib/facet/symbol/underscore.rb +1 -32
- data/lib/facet/symbol/upcase.rb +1 -37
- data/lib/facet/syncarray.rb +1 -0
- data/lib/facet/synchash.rb +1 -0
- data/lib/facet/system.rb +1 -0
- data/lib/facet/tagiterator.rb +1 -0
- data/lib/facet/time.rb +1 -8
- data/lib/facet/time/change.rb +1 -51
- data/lib/facet/time/elapse.rb +1 -41
- data/lib/facet/time/self/days_extrema.rb +1 -22
- data/lib/facet/time/self/stamp.rb +1 -2
- data/lib/facet/time/stamp.rb +1 -51
- data/lib/facet/time/to_date.rb +1 -37
- data/lib/facet/time/to_s.rb +1 -33
- data/lib/facet/time/to_time.rb +1 -36
- data/lib/facet/timer.rb +1 -0
- data/lib/facet/times.rb +1 -0
- data/lib/facet/tracepoint.rb +1 -0
- data/lib/facet/tuple.rb +1 -0
- data/lib/facet/typecast.rb +1 -0
- data/lib/facet/unboundmethod.rb +1 -1
- data/lib/facet/unboundmethod/name.rb +1 -8
- data/lib/facet/uninheritable.rb +1 -0
- data/lib/facet/units.rb +1 -0
- data/lib/facet/yamlstruct.rb +1 -0
- data/lib/facets.rb +77 -45
- data/lib/facets/core/array.rb +34 -0
- data/lib/facets/core/array/at_rand.rb +52 -0
- data/lib/facets/core/array/body.rb +2 -0
- data/lib/facets/core/array/delete_unless.rb +35 -0
- data/lib/facets/core/array/delete_values.rb +38 -0
- data/lib/facets/core/array/delete_values_at.rb +57 -0
- data/lib/facets/core/array/each_with_key.rb +9 -0
- data/lib/facets/core/array/first.rb +84 -0
- data/lib/facets/core/array/foot.rb +2 -0
- data/lib/facets/core/array/head.rb +80 -0
- data/lib/facets/core/array/last.rb +2 -0
- data/lib/facets/core/array/last_index.rb +35 -0
- data/lib/facets/core/array/merge.rb +40 -0
- data/lib/facets/core/array/mid.rb +50 -0
- data/lib/facets/core/array/middle.rb +45 -0
- data/lib/facets/core/array/op_fetch.rb +40 -0
- data/lib/facets/core/array/op_mod.rb +16 -0
- data/lib/facets/core/array/op_store.rb +47 -0
- data/lib/facets/core/array/pick.rb +68 -0
- data/lib/facets/core/array/pos.rb +39 -0
- data/lib/facets/core/array/pull.rb +37 -0
- data/lib/facets/core/array/rand_index.rb +30 -0
- data/lib/facets/core/array/rand_subset.rb +56 -0
- data/lib/facets/core/array/range.rb +47 -0
- data/lib/facets/core/array/rotate.rb +67 -0
- data/lib/facets/core/array/select.rb +37 -0
- data/lib/facets/core/array/shuffle.rb +66 -0
- data/lib/facets/core/array/slap.rb +37 -0
- data/lib/facets/core/array/store.rb +7 -0
- data/lib/facets/core/array/tail.rb +2 -0
- data/lib/facets/core/array/thru.rb +38 -0
- data/lib/facets/core/array/to_b.rb +31 -0
- data/lib/facets/core/array/to_h.rb +57 -0
- data/lib/facets/core/array/to_hash.rb +46 -0
- data/lib/facets/core/array/unzip.rb +20 -0
- data/lib/facets/core/binding.rb +14 -0
- data/lib/facets/core/binding/__DIR__.rb +2 -0
- data/lib/facets/core/binding/__FILE__.rb +2 -0
- data/lib/facets/core/binding/__LINE__.rb +58 -0
- data/lib/facets/core/binding/call_stack.rb +42 -0
- data/lib/facets/core/binding/called.rb +42 -0
- data/lib/facets/core/binding/caller.rb +42 -0
- data/lib/facets/core/binding/defined.rb +41 -0
- data/lib/facets/core/binding/eval.rb +42 -0
- data/lib/facets/core/binding/local_variables.rb +45 -0
- data/lib/facets/core/binding/method_name.rb +48 -0
- data/lib/facets/core/binding/op_fetch.rb +45 -0
- data/lib/facets/core/binding/op_store.rb +46 -0
- data/lib/facets/core/binding/self.rb +41 -0
- data/lib/facets/core/binding/self/of_caller.rb +122 -0
- data/lib/facets/core/class.rb +7 -0
- data/lib/facets/core/class/by_name.rb +1 -0
- data/lib/facets/core/class/descendents.rb +44 -0
- data/lib/facets/core/class/method_name.rb +33 -0
- data/lib/facets/core/class/remove_descendents.rb +46 -0
- data/lib/facets/core/class/remove_subclasses.rb +2 -0
- data/lib/facets/core/class/subclasses.rb +2 -0
- data/lib/facets/core/class/unix_path.rb +34 -0
- data/lib/facets/core/comparable.rb +5 -0
- data/lib/facets/core/comparable/at_least.rb +53 -0
- data/lib/facets/core/comparable/at_most.rb +2 -0
- data/lib/facets/core/comparable/cap.rb +2 -0
- data/lib/facets/core/comparable/clip.rb +72 -0
- data/lib/facets/core/comparable/cmp.rb +38 -0
- data/lib/facets/core/continuation.rb +1 -0
- data/lib/facets/core/continuation/self/create.rb +71 -0
- data/lib/facets/core/date.rb +0 -0
- data/lib/facets/core/date/days_in_month.rb +42 -0
- data/lib/facets/core/date/days_of_month.rb +34 -0
- data/lib/facets/core/date/stamp.rb +52 -0
- data/lib/facets/core/date/to_date.rb +36 -0
- data/lib/facets/core/date/to_s.rb +33 -0
- data/lib/facets/core/date/to_time.rb +36 -0
- data/lib/facets/core/dir.rb +4 -0
- data/lib/facets/core/dir/self/ancestor.rb +33 -0
- data/lib/facets/core/dir/self/ascend.rb +56 -0
- data/lib/facets/core/dir/self/ls_r.rb +76 -0
- data/lib/facets/core/dir/self/recurse.rb +2 -0
- data/lib/facets/core/enumerable.rb +39 -0
- data/lib/facets/core/enumerable/collect_with_counter.rb +2 -0
- data/lib/facets/core/enumerable/collect_with_index.rb +51 -0
- data/lib/facets/core/enumerable/commonality.rb +63 -0
- data/lib/facets/core/enumerable/compact_collect.rb +50 -0
- data/lib/facets/core/enumerable/compact_map.rb +2 -0
- data/lib/facets/core/enumerable/cross.rb +44 -0
- data/lib/facets/core/enumerable/each_by.rb +2 -0
- data/lib/facets/core/enumerable/each_combination.rb +59 -0
- data/lib/facets/core/enumerable/each_pair.rb +50 -0
- data/lib/facets/core/enumerable/each_permutation.rb +2 -0
- data/lib/facets/core/enumerable/each_slice.rb +131 -0
- data/lib/facets/core/enumerable/each_unique_pair.rb +66 -0
- data/lib/facets/core/enumerable/each_with_counter.rb +8 -0
- data/lib/facets/core/enumerable/elementwise.rb +2 -0
- data/lib/facets/core/enumerable/entropy.rb +52 -0
- data/lib/facets/core/enumerable/every.rb +65 -0
- data/lib/facets/core/enumerable/ew.rb +64 -0
- data/lib/facets/core/enumerable/filter_collect.rb +58 -0
- data/lib/facets/core/enumerable/filter_map.rb +2 -0
- data/lib/facets/core/enumerable/find_collisions.rb +41 -0
- data/lib/facets/core/enumerable/frequency.rb +39 -0
- data/lib/facets/core/enumerable/graph.rb +59 -0
- data/lib/facets/core/enumerable/ideal_entropy.rb +49 -0
- data/lib/facets/core/enumerable/map_with_counter.rb +2 -0
- data/lib/facets/core/enumerable/map_with_index.rb +2 -0
- data/lib/facets/core/enumerable/none.rb +56 -0
- data/lib/facets/core/enumerable/nonuniq.rb +39 -0
- data/lib/facets/core/enumerable/occur.rb +62 -0
- data/lib/facets/core/enumerable/one.rb +65 -0
- data/lib/facets/core/enumerable/op_pow.rb +38 -0
- data/lib/facets/core/enumerable/partition_by.rb +55 -0
- data/lib/facets/core/enumerable/permute.rb +135 -0
- data/lib/facets/core/enumerable/probability.rb +59 -0
- data/lib/facets/core/enumerable/project.rb +11 -0
- data/lib/facets/core/enumerable/self/combinations.rb +68 -0
- data/lib/facets/core/enumerable/self/cross.rb +79 -0
- data/lib/facets/core/enumerable/to_h.rb +50 -0
- data/lib/facets/core/enumerable/uniq_by.rb +39 -0
- data/lib/facets/core/enumerable/where.rb +12 -0
- data/lib/facets/core/file.rb +5 -0
- data/lib/facets/core/file/self/create.rb +52 -0
- data/lib/facets/core/file/self/open_as_string.rb +81 -0
- data/lib/facets/core/file/self/read_list.rb +47 -0
- data/lib/facets/core/file/self/sanitize.rb +50 -0
- data/lib/facets/core/file/self/split_all.rb +36 -0
- data/lib/facets/core/fileutils.rb +0 -0
- data/lib/facets/core/fileutils/head.rb +2 -0
- data/lib/facets/core/fileutils/safe_ln.rb +38 -0
- data/lib/facets/core/fileutils/slice.rb +152 -0
- data/lib/facets/core/fileutils/split_all.rb +29 -0
- data/lib/facets/core/fileutils/tail.rb +2 -0
- data/lib/facets/core/fileutils/wc.rb +128 -0
- data/lib/facets/core/fileutils/whereis.rb +76 -0
- data/lib/facets/core/fileutils/which.rb +117 -0
- data/lib/facets/core/float.rb +3 -0
- data/lib/facets/core/float/approx.rb +42 -0
- data/lib/facets/core/float/round_at.rb +72 -0
- data/lib/facets/core/float/round_to.rb +73 -0
- data/lib/facets/core/gem.rb +3 -0
- data/lib/facets/core/gem/self/active.rb +9 -0
- data/lib/facets/core/gem/self/gempath.rb +10 -0
- data/lib/facets/core/gem/self/gemspec.rb +10 -0
- data/lib/facets/core/hash.rb +40 -0
- data/lib/facets/core/hash/alias.rb +54 -0
- data/lib/facets/core/hash/assert_has_keys.rb +38 -0
- data/lib/facets/core/hash/assert_has_only_keys.rb +38 -0
- data/lib/facets/core/hash/at.rb +26 -0
- data/lib/facets/core/hash/collate.rb +53 -0
- data/lib/facets/core/hash/delete_unless.rb +15 -0
- data/lib/facets/core/hash/each.rb +61 -0
- data/lib/facets/core/hash/each_with_index.rb +35 -0
- data/lib/facets/core/hash/each_with_key.rb +32 -0
- data/lib/facets/core/hash/graph.rb +31 -0
- data/lib/facets/core/hash/has_keys.rb +37 -0
- data/lib/facets/core/hash/has_only_keys.rb +37 -0
- data/lib/facets/core/hash/inverse.rb +51 -0
- data/lib/facets/core/hash/join.rb +19 -0
- data/lib/facets/core/hash/keys_to_iv.rb +60 -0
- data/lib/facets/core/hash/keys_to_s.rb +80 -0
- data/lib/facets/core/hash/keys_to_sym.rb +91 -0
- data/lib/facets/core/hash/op_fetch.rb +146 -0
- data/lib/facets/core/hash/op_lshift.rb +28 -0
- data/lib/facets/core/hash/op_store.rb +2 -0
- data/lib/facets/core/hash/rand_key.rb +47 -0
- data/lib/facets/core/hash/rand_pair.rb +50 -0
- data/lib/facets/core/hash/rand_value.rb +60 -0
- data/lib/facets/core/hash/replace_each.rb +33 -0
- data/lib/facets/core/hash/self/zipnew.rb +37 -0
- data/lib/facets/core/hash/shuffle.rb +53 -0
- data/lib/facets/core/hash/slice.rb +33 -0
- data/lib/facets/core/hash/stringify_keys.rb +2 -0
- data/lib/facets/core/hash/swap.rb +36 -0
- data/lib/facets/core/hash/swapkey.rb +44 -0
- data/lib/facets/core/hash/symoblize_keys.rb +2 -0
- data/lib/facets/core/hash/to_h.rb +35 -0
- data/lib/facets/core/hash/to_ostruct.rb +40 -0
- data/lib/facets/core/hash/to_ostruct_recurse.rb +45 -0
- data/lib/facets/core/hash/traverse.rb +63 -0
- data/lib/facets/core/hash/update_each.rb +43 -0
- data/lib/facets/core/hash/update_keys.rb +31 -0
- data/lib/facets/core/hash/update_values.rb +32 -0
- data/lib/facets/core/hash/variablize_keys.rb +2 -0
- data/lib/facets/core/hash/weave.rb +88 -0
- data/lib/facets/core/inflect.rb +70 -0
- data/lib/facets/core/integer.rb +9 -0
- data/lib/facets/core/integer/even.rb +2 -0
- data/lib/facets/core/integer/fac.rb +2 -0
- data/lib/facets/core/integer/fact.rb +2 -0
- data/lib/facets/core/integer/factorial.rb +61 -0
- data/lib/facets/core/integer/multiple.rb +69 -0
- data/lib/facets/core/integer/odd.rb +2 -0
- data/lib/facets/core/integer/ordinal.rb +41 -0
- data/lib/facets/core/integer/times_collect.rb +39 -0
- data/lib/facets/core/integer/times_map.rb +2 -0
- data/lib/facets/core/kernel.rb +68 -0
- data/lib/facets/core/kernel/__DIR__.rb +11 -0
- data/lib/facets/core/kernel/__class__.rb +31 -0
- data/lib/facets/core/kernel/__meta__.rb +28 -0
- data/lib/facets/core/kernel/adhoc.rb +11 -0
- data/lib/facets/core/kernel/as.rb +87 -0
- data/lib/facets/core/kernel/assign_from.rb +82 -0
- data/lib/facets/core/kernel/assign_with.rb +75 -0
- data/lib/facets/core/kernel/autoreload.rb +124 -0
- data/lib/facets/core/kernel/autoreload_files.rb +2 -0
- data/lib/facets/core/kernel/autoreload_glob.rb +3 -0
- data/lib/facets/core/kernel/bool.rb +77 -0
- data/lib/facets/core/kernel/bug.rb +39 -0
- data/lib/facets/core/kernel/call_stack.rb +59 -0
- data/lib/facets/core/kernel/called.rb +40 -0
- data/lib/facets/core/kernel/complete.rb +6 -0
- data/lib/facets/core/kernel/constant.rb +52 -0
- data/lib/facets/core/kernel/copy.rb +48 -0
- data/lib/facets/core/kernel/deep_copy.rb +49 -0
- data/lib/facets/core/kernel/demo.rb +46 -0
- data/lib/facets/core/kernel/eigenclass.rb +17 -0
- data/lib/facets/core/kernel/false.rb +2 -0
- data/lib/facets/core/kernel/fn.rb +33 -0
- data/lib/facets/core/kernel/generate_method_name.rb +39 -0
- data/lib/facets/core/kernel/get_by_id.rb +33 -0
- data/lib/facets/core/kernel/here.rb +34 -0
- data/lib/facets/core/kernel/in.rb +35 -0
- data/lib/facets/core/kernel/instance_assign.rb +25 -0
- data/lib/facets/core/kernel/instvar.rb +13 -0
- data/lib/facets/core/kernel/is.rb +7 -0
- data/lib/facets/core/kernel/maybe.rb +41 -0
- data/lib/facets/core/kernel/me.rb +17 -0
- data/lib/facets/core/kernel/meta.rb +2 -0
- data/lib/facets/core/kernel/metaclass.rb +42 -0
- data/lib/facets/core/kernel/method.rb +76 -0
- data/lib/facets/core/kernel/method_name.rb +49 -0
- data/lib/facets/core/kernel/methods.rb +79 -0
- data/lib/facets/core/kernel/nack.rb +12 -0
- data/lib/facets/core/kernel/new.rb +40 -0
- data/lib/facets/core/kernel/object_class.rb +31 -0
- data/lib/facets/core/kernel/object_hexid.rb +35 -0
- data/lib/facets/core/kernel/op_esc.rb +37 -0
- data/lib/facets/core/kernel/own.rb +17 -0
- data/lib/facets/core/kernel/p.rb +12 -0
- data/lib/facets/core/kernel/require_all.rb +44 -0
- data/lib/facets/core/kernel/require_esc.rb +42 -0
- data/lib/facets/core/kernel/require_facet.rb +41 -0
- data/lib/facets/core/kernel/require_local.rb +25 -0
- data/lib/facets/core/kernel/resc.rb +32 -0
- data/lib/facets/core/kernel/returning.rb +49 -0
- data/lib/facets/core/kernel/send_as.rb +34 -0
- data/lib/facets/core/kernel/set_from.rb +69 -0
- data/lib/facets/core/kernel/set_with.rb +74 -0
- data/lib/facets/core/kernel/silence_warnings.rb +2 -0
- data/lib/facets/core/kernel/silently.rb +41 -0
- data/lib/facets/core/kernel/singleton.rb +47 -0
- data/lib/facets/core/kernel/superior.rb +53 -0
- data/lib/facets/core/kernel/supermethod.rb +44 -0
- data/lib/facets/core/kernel/this.rb +33 -0
- data/lib/facets/core/kernel/to_b.rb +41 -0
- data/lib/facets/core/kernel/to_bool.rb +47 -0
- data/lib/facets/core/kernel/true.rb +2 -0
- data/lib/facets/core/kernel/unuri.rb +2 -0
- data/lib/facets/core/kernel/uri.rb +38 -0
- data/lib/facets/core/kernel/val.rb +52 -0
- data/lib/facets/core/kernel/warn_with_line.rb +30 -0
- data/lib/facets/core/kernel/with_accessor.rb +94 -0
- data/lib/facets/core/kernel/with_reader.rb +2 -0
- data/lib/facets/core/kernel/with_writer.rb +2 -0
- data/lib/facets/core/logger.rb +0 -0
- data/lib/facets/core/logger/format.rb +28 -0
- data/lib/facets/core/logger/format_message.rb +1 -0
- data/lib/facets/core/matchdata.rb +3 -0
- data/lib/facets/core/matchdata/match.rb +37 -0
- data/lib/facets/core/matchdata/matchset.rb +2 -0
- data/lib/facets/core/matchdata/matchtree.rb +62 -0
- data/lib/facets/core/module.rb +40 -0
- data/lib/facets/core/module/abstract.rb +50 -0
- data/lib/facets/core/module/alias_module_function.rb +57 -0
- data/lib/facets/core/module/ancestor.rb +38 -0
- data/lib/facets/core/module/attr.rb +23 -0
- data/lib/facets/core/module/attr_setter.rb +48 -0
- data/lib/facets/core/module/attr_tester.rb +56 -0
- data/lib/facets/core/module/basename.rb +39 -0
- data/lib/facets/core/module/by_name.rb +68 -0
- data/lib/facets/core/module/cattr_accessor.rb +141 -0
- data/lib/facets/core/module/cattr_reader.rb +2 -0
- data/lib/facets/core/module/cattr_writer.rb +2 -0
- data/lib/facets/core/module/clone_removing.rb +2 -0
- data/lib/facets/core/module/clone_renaming.rb +2 -0
- data/lib/facets/core/module/clone_using.rb +87 -0
- data/lib/facets/core/module/dirname.rb +42 -0
- data/lib/facets/core/module/equate_on.rb +70 -0
- data/lib/facets/core/module/generate_instance_method_name.rb +47 -0
- data/lib/facets/core/module/include_as.rb +102 -0
- data/lib/facets/core/module/initializer.rb +65 -0
- data/lib/facets/core/module/instance_methods.rb +186 -0
- data/lib/facets/core/module/integrate.rb +51 -0
- data/lib/facets/core/module/is.rb +35 -0
- data/lib/facets/core/module/memoize.rb +95 -0
- data/lib/facets/core/module/modspace.rb +43 -0
- data/lib/facets/core/module/namespace.rb +61 -0
- data/lib/facets/core/module/nesting.rb +45 -0
- data/lib/facets/core/module/redef.rb +31 -0
- data/lib/facets/core/module/redefine_method.rb +57 -0
- data/lib/facets/core/module/redirect.rb +30 -0
- data/lib/facets/core/module/redirect_method.rb +64 -0
- data/lib/facets/core/module/remove.rb +29 -0
- data/lib/facets/core/module/rename.rb +31 -0
- data/lib/facets/core/module/rename_method.rb +38 -0
- data/lib/facets/core/module/revisal.rb +49 -0
- data/lib/facets/core/module/shadow_all.rb +17 -0
- data/lib/facets/core/module/shadow_method.rb +42 -0
- data/lib/facets/core/module/sort_on.rb +73 -0
- data/lib/facets/core/module/undef.rb +29 -0
- data/lib/facets/core/module/wrap.rb +30 -0
- data/lib/facets/core/module/wrap_method.rb +48 -0
- data/lib/facets/core/nil_as_emptiness.rb +34 -0
- data/lib/facets/core/nilclass.rb +7 -0
- data/lib/facets/core/nilclass/empty.rb +32 -0
- data/lib/facets/core/nilclass/include.rb +32 -0
- data/lib/facets/core/nilclass/length.rb +2 -0
- data/lib/facets/core/nilclass/op_fetch.rb +37 -0
- data/lib/facets/core/nilclass/size.rb +44 -0
- data/lib/facets/core/nilclass/to_f.rb +32 -0
- data/lib/facets/core/nilclass/to_h.rb +33 -0
- data/lib/facets/core/numeric.rb +5 -0
- data/lib/facets/core/numeric/ceil_multiple.rb +40 -0
- data/lib/facets/core/numeric/pred.rb +2 -0
- data/lib/facets/core/numeric/succ.rb +69 -0
- data/lib/facets/core/numeric/to_b.rb +38 -0
- data/lib/facets/core/ostruct.rb +0 -0
- data/lib/facets/core/ostruct/__merge__.rb +52 -0
- data/lib/facets/core/ostruct/__table__.rb +17 -0
- data/lib/facets/core/ostruct/__update__.rb +45 -0
- data/lib/facets/core/ostruct/op_fetch.rb +40 -0
- data/lib/facets/core/ostruct/op_store.rb +42 -0
- data/lib/facets/core/ostruct/to_h.rb +8 -0
- data/lib/facets/core/pathname.rb +2 -0
- data/lib/facets/core/pathname/ascend.rb +22 -0
- data/lib/facets/core/pathname/descend.rb +20 -0
- data/lib/facets/core/proc.rb +3 -0
- data/lib/facets/core/proc/compose.rb +62 -0
- data/lib/facets/core/proc/op_mul.rb +2 -0
- data/lib/facets/core/proc/to_method.rb +74 -0
- data/lib/facets/core/random.rb +21 -0
- data/lib/facets/core/range.rb +4 -0
- data/lib/facets/core/range/to_r.rb +32 -0
- data/lib/facets/core/range/to_range.rb +36 -0
- data/lib/facets/core/range/umbrella.rb +67 -0
- data/lib/facets/core/range/within.rb +44 -0
- data/lib/facets/core/regexp.rb +3 -0
- data/lib/facets/core/regexp/arity.rb +41 -0
- data/lib/facets/core/regexp/to_re.rb +38 -0
- data/lib/facets/core/regexp/to_regexp.rb +36 -0
- data/lib/facets/core/string.rb +92 -0
- data/lib/facets/core/string/align_center.rb +87 -0
- data/lib/facets/core/string/align_left.rb +2 -0
- data/lib/facets/core/string/align_right.rb +2 -0
- data/lib/facets/core/string/at.rb +8 -0
- data/lib/facets/core/string/at_rand.rb +65 -0
- data/lib/facets/core/string/basename.rb +48 -0
- data/lib/facets/core/string/blank.rb +36 -0
- data/lib/facets/core/string/bracket.rb +70 -0
- data/lib/facets/core/string/brief.rb +33 -0
- data/lib/facets/core/string/bytes.rb +19 -0
- data/lib/facets/core/string/camelcase.rb +58 -0
- data/lib/facets/core/string/camelize.rb +35 -0
- data/lib/facets/core/string/capitalized.rb +38 -0
- data/lib/facets/core/string/chars.rb +34 -0
- data/lib/facets/core/string/cmp.rb +43 -0
- data/lib/facets/core/string/demodulize.rb +40 -0
- data/lib/facets/core/string/dequote.rb +29 -0
- data/lib/facets/core/string/downcase.rb +37 -0
- data/lib/facets/core/string/dresner.rb +49 -0
- data/lib/facets/core/string/each_char.rb +35 -0
- data/lib/facets/core/string/each_word.rb +50 -0
- data/lib/facets/core/string/ends_with.rb +2 -0
- data/lib/facets/core/string/first.rb +94 -0
- data/lib/facets/core/string/first_char.rb +20 -0
- data/lib/facets/core/string/fold.rb +67 -0
- data/lib/facets/core/string/format.rb +17 -0
- data/lib/facets/core/string/frequency.rb +39 -0
- data/lib/facets/core/string/humanize.rb +31 -0
- data/lib/facets/core/string/indent.rb +68 -0
- data/lib/facets/core/string/index_all.rb +40 -0
- data/lib/facets/core/string/last.rb +94 -0
- data/lib/facets/core/string/last_char.rb +22 -0
- data/lib/facets/core/string/line_wrap.rb +77 -0
- data/lib/facets/core/string/lines.rb +33 -0
- data/lib/facets/core/string/lowercase.rb +32 -0
- data/lib/facets/core/string/margin.rb +138 -0
- data/lib/facets/core/string/methodize.rb +44 -0
- data/lib/facets/core/string/modulize.rb +44 -0
- data/lib/facets/core/string/mscan.rb +42 -0
- data/lib/facets/core/string/natcmp.rb +108 -0
- data/lib/facets/core/string/nchar.rb +45 -0
- data/lib/facets/core/string/ordinal.rb +16 -0
- data/lib/facets/core/string/pathize.rb +46 -0
- data/lib/facets/core/string/plural.rb +2 -0
- data/lib/facets/core/string/pop.rb +54 -0
- data/lib/facets/core/string/probability.rb +34 -0
- data/lib/facets/core/string/pull.rb +17 -0
- data/lib/facets/core/string/push.rb +44 -0
- data/lib/facets/core/string/quote.rb +68 -0
- data/lib/facets/core/string/rand_byte.rb +55 -0
- data/lib/facets/core/string/rand_index.rb +29 -0
- data/lib/facets/core/string/range.rb +37 -0
- data/lib/facets/core/string/range_all.rb +48 -0
- data/lib/facets/core/string/range_of_line.rb +42 -0
- data/lib/facets/core/string/regesc.rb +32 -0
- data/lib/facets/core/string/self/format.rb +17 -0
- data/lib/facets/core/string/self/interpolate.rb +31 -0
- data/lib/facets/core/string/self/patterns.rb +51 -0
- data/lib/facets/core/string/self/rand_letter.rb +34 -0
- data/lib/facets/core/string/self/random.rb +37 -0
- data/lib/facets/core/string/shatter.rb +45 -0
- data/lib/facets/core/string/shell_escape.rb +11 -0
- data/lib/facets/core/string/shift.rb +42 -0
- data/lib/facets/core/string/shuffle.rb +42 -0
- data/lib/facets/core/string/similarity.rb +108 -0
- data/lib/facets/core/string/singular.rb +117 -0
- data/lib/facets/core/string/slap.rb +44 -0
- data/lib/facets/core/string/soundex.rb +102 -0
- data/lib/facets/core/string/starts_with.rb +24 -0
- data/lib/facets/core/string/succ.rb +38 -0
- data/lib/facets/core/string/tab.rb +2 -0
- data/lib/facets/core/string/tabto.rb +2 -0
- data/lib/facets/core/string/to_a.rb +35 -0
- data/lib/facets/core/string/to_arr.rb +55 -0
- data/lib/facets/core/string/to_b.rb +64 -0
- data/lib/facets/core/string/to_const.rb +39 -0
- data/lib/facets/core/string/to_date.rb +35 -0
- data/lib/facets/core/string/to_proc.rb +54 -0
- data/lib/facets/core/string/to_re.rb +46 -0
- data/lib/facets/core/string/to_rx.rb +2 -0
- data/lib/facets/core/string/to_time.rb +34 -0
- data/lib/facets/core/string/unbracket.rb +46 -0
- data/lib/facets/core/string/underscore.rb +18 -0
- data/lib/facets/core/string/unix_crypt.rb +41 -0
- data/lib/facets/core/string/unpack.rb +45 -0
- data/lib/facets/core/string/unshift.rb +42 -0
- data/lib/facets/core/string/upcase.rb +45 -0
- data/lib/facets/core/string/uppercase.rb +2 -0
- data/lib/facets/core/string/whitespace.rb +27 -0
- data/lib/facets/core/string/word_filter.rb +61 -0
- data/lib/facets/core/string/word_wrap.rb +90 -0
- data/lib/facets/core/string/words.rb +45 -0
- data/lib/facets/core/string_as_array.rb +16 -0
- data/lib/facets/core/symbol.rb +13 -0
- data/lib/facets/core/symbol/camelcase.rb +42 -0
- data/lib/facets/core/symbol/camelize.rb +33 -0
- data/lib/facets/core/symbol/capitalize.rb +31 -0
- data/lib/facets/core/symbol/capitalized.rb +33 -0
- data/lib/facets/core/symbol/downcase.rb +36 -0
- data/lib/facets/core/symbol/not.rb +40 -0
- data/lib/facets/core/symbol/pad.rb +43 -0
- data/lib/facets/core/symbol/succ.rb +42 -0
- data/lib/facets/core/symbol/to_const.rb +40 -0
- data/lib/facets/core/symbol/to_proc.rb +45 -0
- data/lib/facets/core/symbol/to_str.rb +39 -0
- data/lib/facets/core/symbol/underscore.rb +32 -0
- data/lib/facets/core/symbol/upcase.rb +37 -0
- data/lib/facets/core/time.rb +8 -0
- data/lib/facets/core/time/change.rb +51 -0
- data/lib/facets/core/time/elapse.rb +41 -0
- data/lib/facets/core/time/self/days_extrema.rb +22 -0
- data/lib/facets/core/time/self/stamp.rb +2 -0
- data/lib/facets/core/time/stamp.rb +51 -0
- data/lib/facets/core/time/to_date.rb +37 -0
- data/lib/facets/core/time/to_s.rb +33 -0
- data/lib/facets/core/time/to_time.rb +36 -0
- data/lib/facets/core/unboundmethod.rb +1 -0
- data/lib/facets/core/unboundmethod/name.rb +8 -0
- data/lib/facets/more/annotation.rb +580 -0
- data/lib/facets/more/ansicode.rb +311 -0
- data/lib/facets/more/aspects.rb +230 -0
- data/lib/facets/more/association.rb +156 -0
- data/lib/facets/more/basicobject.rb +135 -0
- data/lib/facets/more/bbcode.rb +388 -0
- data/lib/facets/more/binaryreader.rb +246 -0
- data/lib/facets/more/bitmask.rb +112 -0
- data/lib/facets/more/blankslate.rb +3 -0
- data/lib/facets/more/bytes.rb +212 -0
- data/lib/facets/more/classinherit.rb +216 -0
- data/lib/facets/more/classmethods.rb +219 -0
- data/lib/facets/more/cloneable.rb +55 -0
- data/lib/facets/more/consoleapp.rb +123 -0
- data/lib/facets/more/coroutine.rb +172 -0
- data/lib/facets/more/crypt.rb +180 -0
- data/lib/facets/more/dictionary.rb +436 -0
- data/lib/facets/more/downloader.rb +272 -0
- data/lib/facets/more/enumerablepass.rb +285 -0
- data/lib/facets/more/expirable.rb +87 -0
- data/lib/facets/more/filelist.rb +486 -0
- data/lib/facets/more/floatstring.rb +179 -0
- data/lib/facets/more/functor.rb +105 -0
- data/lib/facets/more/heap.rb +226 -0
- data/lib/facets/more/inheritor.rb +239 -0
- data/lib/facets/more/interval.rb +424 -0
- data/lib/facets/more/ioredirect.rb +130 -0
- data/lib/facets/more/lisp.rb +387 -0
- data/lib/facets/more/lisp_format.rb +1843 -0
- data/lib/facets/more/lrucache.rb +183 -0
- data/lib/facets/more/mathconstants.rb +320 -0
- data/lib/facets/more/methodprobe.rb +215 -0
- data/lib/facets/more/mock.rb +233 -0
- data/lib/facets/more/multipliers.rb +192 -0
- data/lib/facets/more/multiton.rb +359 -0
- data/lib/facets/more/nackclass.rb +162 -0
- data/lib/facets/more/nilcomparable.rb +133 -0
- data/lib/facets/more/nullclass.rb +68 -0
- data/lib/facets/more/one.rb +117 -0
- data/lib/facets/more/openobject.rb +220 -0
- data/lib/facets/more/orderedhash.rb +3 -0
- data/lib/facets/more/ormsupport.rb +235 -0
- data/lib/facets/more/overload.rb +110 -0
- data/lib/facets/more/paramix.rb +243 -0
- data/lib/facets/more/pathlist.rb +105 -0
- data/lib/facets/more/pool.rb +98 -0
- data/lib/facets/more/preinitialize.rb +152 -0
- data/lib/facets/more/progressbar.rb +227 -0
- data/lib/facets/more/promoteself.rb +104 -0
- data/lib/facets/more/quaternion.rb +527 -0
- data/lib/facets/more/reference.rb +83 -0
- data/lib/facets/more/rtals.rb +14 -0
- data/lib/facets/more/semaphore.rb +103 -0
- data/lib/facets/more/snapshot.rb +190 -0
- data/lib/facets/more/stateparser.rb +579 -0
- data/lib/facets/more/statichash.rb +87 -0
- data/lib/facets/more/syncarray.rb +144 -0
- data/lib/facets/more/synchash.rb +173 -0
- data/lib/facets/more/system.rb +169 -0
- data/lib/facets/more/tagiterator.rb +387 -0
- data/lib/facets/more/timer.rb +307 -0
- data/lib/facets/more/times.rb +327 -0
- data/lib/facets/more/tracepoint.rb +183 -0
- data/lib/facets/more/tuple.rb +170 -0
- data/lib/facets/more/typecast.rb +280 -0
- data/lib/facets/more/uninheritable.rb +90 -0
- data/lib/facets/more/units.rb +938 -0
- data/lib/facets/more/yamlstruct.rb +90 -0
- metadata +680 -39
- data/data/facets/methods.yaml +0 -446
@@ -0,0 +1,90 @@
|
|
1
|
+
#--
|
2
|
+
# YAMLStruct
|
3
|
+
#
|
4
|
+
# Copyright (c) 2005 Thomas Sawyer
|
5
|
+
#
|
6
|
+
# Ruby License
|
7
|
+
#
|
8
|
+
# This module is free software. You may use, modify, and/or redistribute this
|
9
|
+
# software under the same terms as Ruby.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful, but WITHOUT
|
12
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
13
|
+
# FOR A PARTICULAR PURPOSE.
|
14
|
+
#
|
15
|
+
# ==========================================================================
|
16
|
+
# Revision History
|
17
|
+
# ==========================================================================
|
18
|
+
# 2005-09-13 trans Created.
|
19
|
+
# ==========================================================================
|
20
|
+
#
|
21
|
+
# TODO Currently only supports YAML documents with a map at the top level.
|
22
|
+
#
|
23
|
+
#++
|
24
|
+
|
25
|
+
require 'yaml'
|
26
|
+
|
27
|
+
#:title: YAMLStruct
|
28
|
+
#
|
29
|
+
# TODO
|
30
|
+
#
|
31
|
+
# == Author(s)
|
32
|
+
#
|
33
|
+
# * Thomas Sawyer
|
34
|
+
#
|
35
|
+
|
36
|
+
class YAMLStruct
|
37
|
+
|
38
|
+
def initialize( stream )
|
39
|
+
@yaml = YAML::load( stream )
|
40
|
+
end
|
41
|
+
|
42
|
+
def method_missing( sym, *args, &blk )
|
43
|
+
sym = sym.to_s
|
44
|
+
if sym.slice(-1,1) == '='
|
45
|
+
@yaml[ sym ] = args[0]
|
46
|
+
elsif @yaml.key?( sym )
|
47
|
+
@yaml[ sym ]
|
48
|
+
else
|
49
|
+
#raise ?
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def to_s
|
54
|
+
@yaml.to_yaml
|
55
|
+
end
|
56
|
+
|
57
|
+
end
|
58
|
+
|
59
|
+
|
60
|
+
# _____ _
|
61
|
+
# |_ _|__ ___| |_
|
62
|
+
# | |/ _ \/ __| __|
|
63
|
+
# | | __/\__ \ |_
|
64
|
+
# |_|\___||___/\__|
|
65
|
+
#
|
66
|
+
|
67
|
+
=begin test
|
68
|
+
|
69
|
+
require 'test/unit'
|
70
|
+
|
71
|
+
class TC_YAMLStruct < Test::Unit::TestCase
|
72
|
+
|
73
|
+
def setup
|
74
|
+
y = %{
|
75
|
+
a: 1
|
76
|
+
b: 2
|
77
|
+
c: 3
|
78
|
+
}
|
79
|
+
@y = YAMLStruct.new(y)
|
80
|
+
end
|
81
|
+
|
82
|
+
def test_001
|
83
|
+
assert_equal( 1, @y.a )
|
84
|
+
assert_equal( 2, @y.b )
|
85
|
+
assert_equal( 3, @y.c )
|
86
|
+
end
|
87
|
+
|
88
|
+
end
|
89
|
+
|
90
|
+
=end
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: facets
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.
|
7
|
-
date: 2006-03-
|
6
|
+
version: 1.2.0
|
7
|
+
date: 2006-03-24 00:00:00 +00:00
|
8
8
|
summary: Vast collection of atomic core extension methods.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -41,39 +41,11 @@ files:
|
|
41
41
|
- conf
|
42
42
|
- CHANGELOG
|
43
43
|
- data/facets
|
44
|
-
- data/facets/methods.yaml
|
45
44
|
- data/facets/index.yml
|
46
|
-
- lib/facets.rb
|
47
45
|
- lib/facet
|
46
|
+
- lib/facets.rb
|
47
|
+
- lib/facets
|
48
48
|
- lib/facet/array.rb
|
49
|
-
- lib/facet/array
|
50
|
-
- lib/facet/binding
|
51
|
-
- lib/facet/class
|
52
|
-
- lib/facet/comparable
|
53
|
-
- lib/facet/continuation
|
54
|
-
- lib/facet/date
|
55
|
-
- lib/facet/dir
|
56
|
-
- lib/facet/enumerable
|
57
|
-
- lib/facet/file
|
58
|
-
- lib/facet/fileutils
|
59
|
-
- lib/facet/float
|
60
|
-
- lib/facet/hash
|
61
|
-
- lib/facet/integer
|
62
|
-
- lib/facet/kernel
|
63
|
-
- lib/facet/logger
|
64
|
-
- lib/facet/matchdata
|
65
|
-
- lib/facet/module
|
66
|
-
- lib/facet/nilclass
|
67
|
-
- lib/facet/numeric
|
68
|
-
- lib/facet/ostruct
|
69
|
-
- lib/facet/pathname
|
70
|
-
- lib/facet/proc
|
71
|
-
- lib/facet/range
|
72
|
-
- lib/facet/regexp
|
73
|
-
- lib/facet/string
|
74
|
-
- lib/facet/symbol
|
75
|
-
- lib/facet/time
|
76
|
-
- lib/facet/unboundmethod
|
77
49
|
- lib/facet/binding.rb
|
78
50
|
- lib/facet/class.rb
|
79
51
|
- lib/facet/comparable.rb
|
@@ -101,13 +73,107 @@ files:
|
|
101
73
|
- lib/facet/symbol.rb
|
102
74
|
- lib/facet/time.rb
|
103
75
|
- lib/facet/unboundmethod.rb
|
104
|
-
- lib/facet/gem
|
105
|
-
- lib/facet/functor.rb
|
106
76
|
- lib/facet/inflect.rb
|
107
77
|
- lib/facet/string_as_array.rb
|
108
78
|
- lib/facet/random.rb
|
109
79
|
- lib/facet/nil_as_emptiness.rb
|
110
80
|
- lib/facet/gem.rb
|
81
|
+
- lib/facet/array
|
82
|
+
- lib/facet/binding
|
83
|
+
- lib/facet/class
|
84
|
+
- lib/facet/comparable
|
85
|
+
- lib/facet/continuation
|
86
|
+
- lib/facet/date
|
87
|
+
- lib/facet/dir
|
88
|
+
- lib/facet/enumerable
|
89
|
+
- lib/facet/file
|
90
|
+
- lib/facet/fileutils
|
91
|
+
- lib/facet/float
|
92
|
+
- lib/facet/hash
|
93
|
+
- lib/facet/integer
|
94
|
+
- lib/facet/kernel
|
95
|
+
- lib/facet/logger
|
96
|
+
- lib/facet/matchdata
|
97
|
+
- lib/facet/module
|
98
|
+
- lib/facet/nilclass
|
99
|
+
- lib/facet/numeric
|
100
|
+
- lib/facet/ostruct
|
101
|
+
- lib/facet/pathname
|
102
|
+
- lib/facet/proc
|
103
|
+
- lib/facet/range
|
104
|
+
- lib/facet/regexp
|
105
|
+
- lib/facet/string
|
106
|
+
- lib/facet/symbol
|
107
|
+
- lib/facet/time
|
108
|
+
- lib/facet/unboundmethod
|
109
|
+
- lib/facet/gem
|
110
|
+
- lib/facet/annotation.rb
|
111
|
+
- lib/facet/ansicode.rb
|
112
|
+
- lib/facet/association.rb
|
113
|
+
- lib/facet/basicobject.rb
|
114
|
+
- lib/facet/bbcode.rb
|
115
|
+
- lib/facet/binaryreader.rb
|
116
|
+
- lib/facet/bitmask.rb
|
117
|
+
- lib/facet/classinherit.rb
|
118
|
+
- lib/facet/classmethods.rb
|
119
|
+
- lib/facet/cloneable.rb
|
120
|
+
- lib/facet/consoleapp.rb
|
121
|
+
- lib/facet/coroutine.rb
|
122
|
+
- lib/facet/crypt.rb
|
123
|
+
- lib/facet/dictionary.rb
|
124
|
+
- lib/facet/downloader.rb
|
125
|
+
- lib/facet/ormsupport.rb
|
126
|
+
- lib/facet/multipliers.rb
|
127
|
+
- lib/facet/bytes.rb
|
128
|
+
- lib/facet/enumerablepass.rb
|
129
|
+
- lib/facet/expirable.rb
|
130
|
+
- lib/facet/floatstring.rb
|
131
|
+
- lib/facet/functor.rb
|
132
|
+
- lib/facet/heap.rb
|
133
|
+
- lib/facet/inheritor.rb
|
134
|
+
- lib/facet/interval.rb
|
135
|
+
- lib/facet/ioredirect.rb
|
136
|
+
- lib/facet/lisp_format.rb
|
137
|
+
- lib/facet/lisp.rb
|
138
|
+
- lib/facet/lrucache.rb
|
139
|
+
- lib/facet/mathconstants.rb
|
140
|
+
- lib/facet/methodprobe.rb
|
141
|
+
- lib/facet/mock.rb
|
142
|
+
- lib/facet/multiton.rb
|
143
|
+
- lib/facet/nackclass.rb
|
144
|
+
- lib/facet/nilcomparable.rb
|
145
|
+
- lib/facet/nullclass.rb
|
146
|
+
- lib/facet/one.rb
|
147
|
+
- lib/facet/openobject.rb
|
148
|
+
- lib/facet/paramix.rb
|
149
|
+
- lib/facet/pool.rb
|
150
|
+
- lib/facet/preinitialize.rb
|
151
|
+
- lib/facet/progressbar.rb
|
152
|
+
- lib/facet/quaternion.rb
|
153
|
+
- lib/facet/reference.rb
|
154
|
+
- lib/facet/semaphore.rb
|
155
|
+
- lib/facet/snapshot.rb
|
156
|
+
- lib/facet/stateparser.rb
|
157
|
+
- lib/facet/statichash.rb
|
158
|
+
- lib/facet/synchash.rb
|
159
|
+
- lib/facet/syncarray.rb
|
160
|
+
- lib/facet/system.rb
|
161
|
+
- lib/facet/yamlstruct.rb
|
162
|
+
- lib/facet/uninheritable.rb
|
163
|
+
- lib/facet/tuple.rb
|
164
|
+
- lib/facet/tracepoint.rb
|
165
|
+
- lib/facet/timer.rb
|
166
|
+
- lib/facet/tagiterator.rb
|
167
|
+
- lib/facet/units.rb
|
168
|
+
- lib/facet/times.rb
|
169
|
+
- lib/facet/rtals.rb
|
170
|
+
- lib/facet/typecast.rb
|
171
|
+
- lib/facet/promoteself.rb
|
172
|
+
- lib/facet/blankslate.rb
|
173
|
+
- lib/facet/filelist.rb
|
174
|
+
- lib/facet/orderedhash.rb
|
175
|
+
- lib/facet/pathlist.rb
|
176
|
+
- lib/facet/overload.rb
|
111
177
|
- lib/facet/array/pull.rb
|
112
178
|
- lib/facet/array/each_with_key.rb
|
113
179
|
- lib/facet/array/merge.rb
|
@@ -143,7 +209,6 @@ files:
|
|
143
209
|
- lib/facet/array/store.rb
|
144
210
|
- lib/facet/array/op_mod.rb
|
145
211
|
- lib/facet/binding/call_stack.rb
|
146
|
-
- lib/facet/binding/self
|
147
212
|
- lib/facet/binding/self.rb
|
148
213
|
- lib/facet/binding/__DIR__.rb
|
149
214
|
- lib/facet/binding/__LINE__.rb
|
@@ -156,6 +221,7 @@ files:
|
|
156
221
|
- lib/facet/binding/op_store.rb
|
157
222
|
- lib/facet/binding/op_fetch.rb
|
158
223
|
- lib/facet/binding/local_variables.rb
|
224
|
+
- lib/facet/binding/self
|
159
225
|
- lib/facet/binding/self/of_caller.rb
|
160
226
|
- lib/facet/class/descendents.rb
|
161
227
|
- lib/facet/class/remove_subclasses.rb
|
@@ -182,7 +248,6 @@ files:
|
|
182
248
|
- lib/facet/dir/self/ls_r.rb
|
183
249
|
- lib/facet/dir/self/ancestor.rb
|
184
250
|
- lib/facet/dir/self/ascend.rb
|
185
|
-
- lib/facet/enumerable/self
|
186
251
|
- lib/facet/enumerable/find_collisions.rb
|
187
252
|
- lib/facet/enumerable/map_with_counter.rb
|
188
253
|
- lib/facet/enumerable/each_unique_pair.rb
|
@@ -220,6 +285,7 @@ files:
|
|
220
285
|
- lib/facet/enumerable/each_with_counter.rb
|
221
286
|
- lib/facet/enumerable/uniq_by.rb
|
222
287
|
- lib/facet/enumerable/cross.rb
|
288
|
+
- lib/facet/enumerable/self
|
223
289
|
- lib/facet/enumerable/self/combinations.rb
|
224
290
|
- lib/facet/enumerable/self/cross.rb
|
225
291
|
- lib/facet/file/self
|
@@ -241,7 +307,6 @@ files:
|
|
241
307
|
- lib/facet/float/round_to.rb
|
242
308
|
- lib/facet/hash/collate.rb
|
243
309
|
- lib/facet/hash/assert_has_keys.rb
|
244
|
-
- lib/facet/hash/self
|
245
310
|
- lib/facet/hash/each_with_key.rb
|
246
311
|
- lib/facet/hash/join.rb
|
247
312
|
- lib/facet/hash/at.rb
|
@@ -279,6 +344,7 @@ files:
|
|
279
344
|
- lib/facet/hash/stringify_keys.rb
|
280
345
|
- lib/facet/hash/rand_pair.rb
|
281
346
|
- lib/facet/hash/update_each.rb
|
347
|
+
- lib/facet/hash/self
|
282
348
|
- lib/facet/hash/self/zipnew.rb
|
283
349
|
- lib/facet/integer/multiple.rb
|
284
350
|
- lib/facet/integer/times_collect.rb
|
@@ -431,7 +497,6 @@ files:
|
|
431
497
|
- lib/facet/regexp/to_regexp.rb
|
432
498
|
- lib/facet/regexp/to_re.rb
|
433
499
|
- lib/facet/regexp/arity.rb
|
434
|
-
- lib/facet/string/self
|
435
500
|
- lib/facet/string/pull.rb
|
436
501
|
- lib/facet/string/push.rb
|
437
502
|
- lib/facet/string/uppercase.rb
|
@@ -518,6 +583,8 @@ files:
|
|
518
583
|
- lib/facet/string/modulize.rb
|
519
584
|
- lib/facet/string/pathize.rb
|
520
585
|
- lib/facet/string/methodize.rb
|
586
|
+
- lib/facet/string/shell_escape.rb
|
587
|
+
- lib/facet/string/self
|
521
588
|
- lib/facet/string/self/patterns.rb
|
522
589
|
- lib/facet/string/self/rand_letter.rb
|
523
590
|
- lib/facet/string/self/random.rb
|
@@ -536,13 +603,13 @@ files:
|
|
536
603
|
- lib/facet/symbol/to_const.rb
|
537
604
|
- lib/facet/symbol/underscore.rb
|
538
605
|
- lib/facet/symbol/to_str.rb
|
539
|
-
- lib/facet/time/self
|
540
606
|
- lib/facet/time/change.rb
|
541
607
|
- lib/facet/time/to_date.rb
|
542
608
|
- lib/facet/time/to_s.rb
|
543
609
|
- lib/facet/time/stamp.rb
|
544
610
|
- lib/facet/time/to_time.rb
|
545
611
|
- lib/facet/time/elapse.rb
|
612
|
+
- lib/facet/time/self
|
546
613
|
- lib/facet/time/self/days_extrema.rb
|
547
614
|
- lib/facet/time/self/stamp.rb
|
548
615
|
- lib/facet/unboundmethod/name.rb
|
@@ -550,6 +617,580 @@ files:
|
|
550
617
|
- lib/facet/gem/self/active.rb
|
551
618
|
- lib/facet/gem/self/gemspec.rb
|
552
619
|
- lib/facet/gem/self/gempath.rb
|
620
|
+
- lib/facets/more
|
621
|
+
- lib/facets/core/array
|
622
|
+
- lib/facets/core/binding
|
623
|
+
- lib/facets/core/class
|
624
|
+
- lib/facets/core/comparable
|
625
|
+
- lib/facets/core/continuation
|
626
|
+
- lib/facets/core/date
|
627
|
+
- lib/facets/core/dir
|
628
|
+
- lib/facets/core/enumerable
|
629
|
+
- lib/facets/core/file
|
630
|
+
- lib/facets/core/fileutils
|
631
|
+
- lib/facets/core/float
|
632
|
+
- lib/facets/core/hash
|
633
|
+
- lib/facets/core/integer
|
634
|
+
- lib/facets/core/kernel
|
635
|
+
- lib/facets/core/logger
|
636
|
+
- lib/facets/core/matchdata
|
637
|
+
- lib/facets/core/module
|
638
|
+
- lib/facets/core/nilclass
|
639
|
+
- lib/facets/core/numeric
|
640
|
+
- lib/facets/core/ostruct
|
641
|
+
- lib/facets/core/pathname
|
642
|
+
- lib/facets/core/proc
|
643
|
+
- lib/facets/core/range
|
644
|
+
- lib/facets/core/regexp
|
645
|
+
- lib/facets/core/string
|
646
|
+
- lib/facets/core/symbol
|
647
|
+
- lib/facets/core/time
|
648
|
+
- lib/facets/core/unboundmethod
|
649
|
+
- lib/facets/core/gem
|
650
|
+
- lib/facets/core/array.rb
|
651
|
+
- lib/facets/core/binding.rb
|
652
|
+
- lib/facets/core/class.rb
|
653
|
+
- lib/facets/core/comparable.rb
|
654
|
+
- lib/facets/core/continuation.rb
|
655
|
+
- lib/facets/core/date.rb
|
656
|
+
- lib/facets/core/dir.rb
|
657
|
+
- lib/facets/core/enumerable.rb
|
658
|
+
- lib/facets/core/file.rb
|
659
|
+
- lib/facets/core/fileutils.rb
|
660
|
+
- lib/facets/core/float.rb
|
661
|
+
- lib/facets/core/hash.rb
|
662
|
+
- lib/facets/core/integer.rb
|
663
|
+
- lib/facets/core/kernel.rb
|
664
|
+
- lib/facets/core/logger.rb
|
665
|
+
- lib/facets/core/matchdata.rb
|
666
|
+
- lib/facets/core/module.rb
|
667
|
+
- lib/facets/core/nilclass.rb
|
668
|
+
- lib/facets/core/numeric.rb
|
669
|
+
- lib/facets/core/ostruct.rb
|
670
|
+
- lib/facets/core/pathname.rb
|
671
|
+
- lib/facets/core/proc.rb
|
672
|
+
- lib/facets/core/range.rb
|
673
|
+
- lib/facets/core/regexp.rb
|
674
|
+
- lib/facets/core/string.rb
|
675
|
+
- lib/facets/core/symbol.rb
|
676
|
+
- lib/facets/core/time.rb
|
677
|
+
- lib/facets/core/unboundmethod.rb
|
678
|
+
- lib/facets/core/inflect.rb
|
679
|
+
- lib/facets/core/string_as_array.rb
|
680
|
+
- lib/facets/core/random.rb
|
681
|
+
- lib/facets/core/nil_as_emptiness.rb
|
682
|
+
- lib/facets/core/gem.rb
|
683
|
+
- lib/facets/core/array/pull.rb
|
684
|
+
- lib/facets/core/array/each_with_key.rb
|
685
|
+
- lib/facets/core/array/merge.rb
|
686
|
+
- lib/facets/core/array/select.rb
|
687
|
+
- lib/facets/core/array/last.rb
|
688
|
+
- lib/facets/core/array/rand_index.rb
|
689
|
+
- lib/facets/core/array/rand_subset.rb
|
690
|
+
- lib/facets/core/array/slap.rb
|
691
|
+
- lib/facets/core/array/tail.rb
|
692
|
+
- lib/facets/core/array/unzip.rb
|
693
|
+
- lib/facets/core/array/delete_unless.rb
|
694
|
+
- lib/facets/core/array/delete_values.rb
|
695
|
+
- lib/facets/core/array/last_index.rb
|
696
|
+
- lib/facets/core/array/thru.rb
|
697
|
+
- lib/facets/core/array/at_rand.rb
|
698
|
+
- lib/facets/core/array/first.rb
|
699
|
+
- lib/facets/core/array/foot.rb
|
700
|
+
- lib/facets/core/array/range.rb
|
701
|
+
- lib/facets/core/array/to_b.rb
|
702
|
+
- lib/facets/core/array/to_h.rb
|
703
|
+
- lib/facets/core/array/mid.rb
|
704
|
+
- lib/facets/core/array/delete_values_at.rb
|
705
|
+
- lib/facets/core/array/head.rb
|
706
|
+
- lib/facets/core/array/pos.rb
|
707
|
+
- lib/facets/core/array/rotate.rb
|
708
|
+
- lib/facets/core/array/shuffle.rb
|
709
|
+
- lib/facets/core/array/op_store.rb
|
710
|
+
- lib/facets/core/array/op_fetch.rb
|
711
|
+
- lib/facets/core/array/middle.rb
|
712
|
+
- lib/facets/core/array/pick.rb
|
713
|
+
- lib/facets/core/array/to_hash.rb
|
714
|
+
- lib/facets/core/array/body.rb
|
715
|
+
- lib/facets/core/array/store.rb
|
716
|
+
- lib/facets/core/array/op_mod.rb
|
717
|
+
- lib/facets/core/binding/self
|
718
|
+
- lib/facets/core/binding/call_stack.rb
|
719
|
+
- lib/facets/core/binding/self.rb
|
720
|
+
- lib/facets/core/binding/__DIR__.rb
|
721
|
+
- lib/facets/core/binding/__LINE__.rb
|
722
|
+
- lib/facets/core/binding/eval.rb
|
723
|
+
- lib/facets/core/binding/method_name.rb
|
724
|
+
- lib/facets/core/binding/called.rb
|
725
|
+
- lib/facets/core/binding/caller.rb
|
726
|
+
- lib/facets/core/binding/__FILE__.rb
|
727
|
+
- lib/facets/core/binding/defined.rb
|
728
|
+
- lib/facets/core/binding/op_store.rb
|
729
|
+
- lib/facets/core/binding/op_fetch.rb
|
730
|
+
- lib/facets/core/binding/local_variables.rb
|
731
|
+
- lib/facets/core/binding/self/of_caller.rb
|
732
|
+
- lib/facets/core/class/descendents.rb
|
733
|
+
- lib/facets/core/class/remove_subclasses.rb
|
734
|
+
- lib/facets/core/class/remove_descendents.rb
|
735
|
+
- lib/facets/core/class/subclasses.rb
|
736
|
+
- lib/facets/core/class/by_name.rb
|
737
|
+
- lib/facets/core/class/unix_path.rb
|
738
|
+
- lib/facets/core/class/method_name.rb
|
739
|
+
- lib/facets/core/comparable/cap.rb
|
740
|
+
- lib/facets/core/comparable/cmp.rb
|
741
|
+
- lib/facets/core/comparable/at_least.rb
|
742
|
+
- lib/facets/core/comparable/at_most.rb
|
743
|
+
- lib/facets/core/comparable/clip.rb
|
744
|
+
- lib/facets/core/continuation/self
|
745
|
+
- lib/facets/core/continuation/self/create.rb
|
746
|
+
- lib/facets/core/date/to_date.rb
|
747
|
+
- lib/facets/core/date/days_in_month.rb
|
748
|
+
- lib/facets/core/date/to_s.rb
|
749
|
+
- lib/facets/core/date/stamp.rb
|
750
|
+
- lib/facets/core/date/to_time.rb
|
751
|
+
- lib/facets/core/date/days_of_month.rb
|
752
|
+
- lib/facets/core/dir/self
|
753
|
+
- lib/facets/core/dir/self/recurse.rb
|
754
|
+
- lib/facets/core/dir/self/ls_r.rb
|
755
|
+
- lib/facets/core/dir/self/ancestor.rb
|
756
|
+
- lib/facets/core/dir/self/ascend.rb
|
757
|
+
- lib/facets/core/enumerable/self
|
758
|
+
- lib/facets/core/enumerable/find_collisions.rb
|
759
|
+
- lib/facets/core/enumerable/map_with_counter.rb
|
760
|
+
- lib/facets/core/enumerable/each_unique_pair.rb
|
761
|
+
- lib/facets/core/enumerable/ew.rb
|
762
|
+
- lib/facets/core/enumerable/graph.rb
|
763
|
+
- lib/facets/core/enumerable/elementwise.rb
|
764
|
+
- lib/facets/core/enumerable/filter_collect.rb
|
765
|
+
- lib/facets/core/enumerable/map_with_index.rb
|
766
|
+
- lib/facets/core/enumerable/ideal_entropy.rb
|
767
|
+
- lib/facets/core/enumerable/where.rb
|
768
|
+
- lib/facets/core/enumerable/partition_by.rb
|
769
|
+
- lib/facets/core/enumerable/nonuniq.rb
|
770
|
+
- lib/facets/core/enumerable/each_permutation.rb
|
771
|
+
- lib/facets/core/enumerable/probability.rb
|
772
|
+
- lib/facets/core/enumerable/collect_with_counter.rb
|
773
|
+
- lib/facets/core/enumerable/collect_with_index.rb
|
774
|
+
- lib/facets/core/enumerable/to_h.rb
|
775
|
+
- lib/facets/core/enumerable/each_by.rb
|
776
|
+
- lib/facets/core/enumerable/each_pair.rb
|
777
|
+
- lib/facets/core/enumerable/every.rb
|
778
|
+
- lib/facets/core/enumerable/compact_collect.rb
|
779
|
+
- lib/facets/core/enumerable/one.rb
|
780
|
+
- lib/facets/core/enumerable/none.rb
|
781
|
+
- lib/facets/core/enumerable/project.rb
|
782
|
+
- lib/facets/core/enumerable/op_pow.rb
|
783
|
+
- lib/facets/core/enumerable/frequency.rb
|
784
|
+
- lib/facets/core/enumerable/compact_map.rb
|
785
|
+
- lib/facets/core/enumerable/filter_map.rb
|
786
|
+
- lib/facets/core/enumerable/permute.rb
|
787
|
+
- lib/facets/core/enumerable/occur.rb
|
788
|
+
- lib/facets/core/enumerable/commonality.rb
|
789
|
+
- lib/facets/core/enumerable/each_combination.rb
|
790
|
+
- lib/facets/core/enumerable/each_slice.rb
|
791
|
+
- lib/facets/core/enumerable/entropy.rb
|
792
|
+
- lib/facets/core/enumerable/each_with_counter.rb
|
793
|
+
- lib/facets/core/enumerable/uniq_by.rb
|
794
|
+
- lib/facets/core/enumerable/cross.rb
|
795
|
+
- lib/facets/core/enumerable/self/combinations.rb
|
796
|
+
- lib/facets/core/enumerable/self/cross.rb
|
797
|
+
- lib/facets/core/file/self
|
798
|
+
- lib/facets/core/file/self/open_as_string.rb
|
799
|
+
- lib/facets/core/file/self/read_list.rb
|
800
|
+
- lib/facets/core/file/self/sanitize.rb
|
801
|
+
- lib/facets/core/file/self/split_all.rb
|
802
|
+
- lib/facets/core/file/self/create.rb
|
803
|
+
- lib/facets/core/fileutils/wc.rb
|
804
|
+
- lib/facets/core/fileutils/tail.rb
|
805
|
+
- lib/facets/core/fileutils/which.rb
|
806
|
+
- lib/facets/core/fileutils/safe_ln.rb
|
807
|
+
- lib/facets/core/fileutils/split_all.rb
|
808
|
+
- lib/facets/core/fileutils/head.rb
|
809
|
+
- lib/facets/core/fileutils/slice.rb
|
810
|
+
- lib/facets/core/fileutils/whereis.rb
|
811
|
+
- lib/facets/core/float/approx.rb
|
812
|
+
- lib/facets/core/float/round_at.rb
|
813
|
+
- lib/facets/core/float/round_to.rb
|
814
|
+
- lib/facets/core/hash/self
|
815
|
+
- lib/facets/core/hash/collate.rb
|
816
|
+
- lib/facets/core/hash/assert_has_keys.rb
|
817
|
+
- lib/facets/core/hash/each_with_key.rb
|
818
|
+
- lib/facets/core/hash/join.rb
|
819
|
+
- lib/facets/core/hash/at.rb
|
820
|
+
- lib/facets/core/hash/each.rb
|
821
|
+
- lib/facets/core/hash/each_with_index.rb
|
822
|
+
- lib/facets/core/hash/graph.rb
|
823
|
+
- lib/facets/core/hash/to_ostruct.rb
|
824
|
+
- lib/facets/core/hash/update_values.rb
|
825
|
+
- lib/facets/core/hash/inverse.rb
|
826
|
+
- lib/facets/core/hash/rand_value.rb
|
827
|
+
- lib/facets/core/hash/assert_has_only_keys.rb
|
828
|
+
- lib/facets/core/hash/keys_to_sym.rb
|
829
|
+
- lib/facets/core/hash/delete_unless.rb
|
830
|
+
- lib/facets/core/hash/has_only_keys.rb
|
831
|
+
- lib/facets/core/hash/replace_each.rb
|
832
|
+
- lib/facets/core/hash/swap.rb
|
833
|
+
- lib/facets/core/hash/rand_key.rb
|
834
|
+
- lib/facets/core/hash/to_h.rb
|
835
|
+
- lib/facets/core/hash/variablize_keys.rb
|
836
|
+
- lib/facets/core/hash/keys_to_iv.rb
|
837
|
+
- lib/facets/core/hash/slice.rb
|
838
|
+
- lib/facets/core/hash/traverse.rb
|
839
|
+
- lib/facets/core/hash/shuffle.rb
|
840
|
+
- lib/facets/core/hash/alias.rb
|
841
|
+
- lib/facets/core/hash/symoblize_keys.rb
|
842
|
+
- lib/facets/core/hash/op_store.rb
|
843
|
+
- lib/facets/core/hash/op_fetch.rb
|
844
|
+
- lib/facets/core/hash/has_keys.rb
|
845
|
+
- lib/facets/core/hash/to_ostruct_recurse.rb
|
846
|
+
- lib/facets/core/hash/swapkey.rb
|
847
|
+
- lib/facets/core/hash/keys_to_s.rb
|
848
|
+
- lib/facets/core/hash/weave.rb
|
849
|
+
- lib/facets/core/hash/op_lshift.rb
|
850
|
+
- lib/facets/core/hash/update_keys.rb
|
851
|
+
- lib/facets/core/hash/stringify_keys.rb
|
852
|
+
- lib/facets/core/hash/rand_pair.rb
|
853
|
+
- lib/facets/core/hash/update_each.rb
|
854
|
+
- lib/facets/core/hash/self/zipnew.rb
|
855
|
+
- lib/facets/core/integer/multiple.rb
|
856
|
+
- lib/facets/core/integer/times_collect.rb
|
857
|
+
- lib/facets/core/integer/times_map.rb
|
858
|
+
- lib/facets/core/integer/fact.rb
|
859
|
+
- lib/facets/core/integer/even.rb
|
860
|
+
- lib/facets/core/integer/fac.rb
|
861
|
+
- lib/facets/core/integer/odd.rb
|
862
|
+
- lib/facets/core/integer/factorial.rb
|
863
|
+
- lib/facets/core/integer/ordinal.rb
|
864
|
+
- lib/facets/core/kernel/call_stack.rb
|
865
|
+
- lib/facets/core/kernel/p.rb
|
866
|
+
- lib/facets/core/kernel/get_by_id.rb
|
867
|
+
- lib/facets/core/kernel/constant.rb
|
868
|
+
- lib/facets/core/kernel/copy.rb
|
869
|
+
- lib/facets/core/kernel/demo.rb
|
870
|
+
- lib/facets/core/kernel/resc.rb
|
871
|
+
- lib/facets/core/kernel/__meta__.rb
|
872
|
+
- lib/facets/core/kernel/set_with.rb
|
873
|
+
- lib/facets/core/kernel/require_all.rb
|
874
|
+
- lib/facets/core/kernel/as.rb
|
875
|
+
- lib/facets/core/kernel/fn.rb
|
876
|
+
- lib/facets/core/kernel/in.rb
|
877
|
+
- lib/facets/core/kernel/is.rb
|
878
|
+
- lib/facets/core/kernel/me.rb
|
879
|
+
- lib/facets/core/kernel/to_bool.rb
|
880
|
+
- lib/facets/core/kernel/require_esc.rb
|
881
|
+
- lib/facets/core/kernel/singleton.rb
|
882
|
+
- lib/facets/core/kernel/false.rb
|
883
|
+
- lib/facets/core/kernel/instance_assign.rb
|
884
|
+
- lib/facets/core/kernel/autoreload.rb
|
885
|
+
- lib/facets/core/kernel/methods.rb
|
886
|
+
- lib/facets/core/kernel/unuri.rb
|
887
|
+
- lib/facets/core/kernel/autoreload_glob.rb
|
888
|
+
- lib/facets/core/kernel/assign_from.rb
|
889
|
+
- lib/facets/core/kernel/__DIR__.rb
|
890
|
+
- lib/facets/core/kernel/__class__.rb
|
891
|
+
- lib/facets/core/kernel/meta.rb
|
892
|
+
- lib/facets/core/kernel/send_as.rb
|
893
|
+
- lib/facets/core/kernel/this.rb
|
894
|
+
- lib/facets/core/kernel/nack.rb
|
895
|
+
- lib/facets/core/kernel/silence_warnings.rb
|
896
|
+
- lib/facets/core/kernel/bug.rb
|
897
|
+
- lib/facets/core/kernel/method_name.rb
|
898
|
+
- lib/facets/core/kernel/generate_method_name.rb
|
899
|
+
- lib/facets/core/kernel/with_reader.rb
|
900
|
+
- lib/facets/core/kernel/to_b.rb
|
901
|
+
- lib/facets/core/kernel/supermethod.rb
|
902
|
+
- lib/facets/core/kernel/op_esc.rb
|
903
|
+
- lib/facets/core/kernel/maybe.rb
|
904
|
+
- lib/facets/core/kernel/require_local.rb
|
905
|
+
- lib/facets/core/kernel/true.rb
|
906
|
+
- lib/facets/core/kernel/with_writer.rb
|
907
|
+
- lib/facets/core/kernel/complete.rb
|
908
|
+
- lib/facets/core/kernel/object_class.rb
|
909
|
+
- lib/facets/core/kernel/new.rb
|
910
|
+
- lib/facets/core/kernel/with_accessor.rb
|
911
|
+
- lib/facets/core/kernel/returning.rb
|
912
|
+
- lib/facets/core/kernel/adhoc.rb
|
913
|
+
- lib/facets/core/kernel/own.rb
|
914
|
+
- lib/facets/core/kernel/instvar.rb
|
915
|
+
- lib/facets/core/kernel/here.rb
|
916
|
+
- lib/facets/core/kernel/called.rb
|
917
|
+
- lib/facets/core/kernel/metaclass.rb
|
918
|
+
- lib/facets/core/kernel/assign_with.rb
|
919
|
+
- lib/facets/core/kernel/val.rb
|
920
|
+
- lib/facets/core/kernel/uri.rb
|
921
|
+
- lib/facets/core/kernel/set_from.rb
|
922
|
+
- lib/facets/core/kernel/eigenclass.rb
|
923
|
+
- lib/facets/core/kernel/warn_with_line.rb
|
924
|
+
- lib/facets/core/kernel/object_hexid.rb
|
925
|
+
- lib/facets/core/kernel/method.rb
|
926
|
+
- lib/facets/core/kernel/deep_copy.rb
|
927
|
+
- lib/facets/core/kernel/superior.rb
|
928
|
+
- lib/facets/core/kernel/bool.rb
|
929
|
+
- lib/facets/core/kernel/require_facet.rb
|
930
|
+
- lib/facets/core/kernel/silently.rb
|
931
|
+
- lib/facets/core/kernel/autoreload_files.rb
|
932
|
+
- lib/facets/core/logger/format.rb
|
933
|
+
- lib/facets/core/logger/format_message.rb
|
934
|
+
- lib/facets/core/matchdata/matchtree.rb
|
935
|
+
- lib/facets/core/matchdata/matchset.rb
|
936
|
+
- lib/facets/core/matchdata/match.rb
|
937
|
+
- lib/facets/core/module/redefine_method.rb
|
938
|
+
- lib/facets/core/module/redirect_method.rb
|
939
|
+
- lib/facets/core/module/initializer.rb
|
940
|
+
- lib/facets/core/module/clone_renaming.rb
|
941
|
+
- lib/facets/core/module/undef.rb
|
942
|
+
- lib/facets/core/module/shadow_all.rb
|
943
|
+
- lib/facets/core/module/clone_removing.rb
|
944
|
+
- lib/facets/core/module/is.rb
|
945
|
+
- lib/facets/core/module/modspace.rb
|
946
|
+
- lib/facets/core/module/instance_methods.rb
|
947
|
+
- lib/facets/core/module/attr_tester.rb
|
948
|
+
- lib/facets/core/module/integrate.rb
|
949
|
+
- lib/facets/core/module/basename.rb
|
950
|
+
- lib/facets/core/module/generate_instance_method_name.rb
|
951
|
+
- lib/facets/core/module/redirect.rb
|
952
|
+
- lib/facets/core/module/shadow_method.rb
|
953
|
+
- lib/facets/core/module/alias_module_function.rb
|
954
|
+
- lib/facets/core/module/namespace.rb
|
955
|
+
- lib/facets/core/module/abstract.rb
|
956
|
+
- lib/facets/core/module/cattr_reader.rb
|
957
|
+
- lib/facets/core/module/nesting.rb
|
958
|
+
- lib/facets/core/module/wrap_method.rb
|
959
|
+
- lib/facets/core/module/cattr_writer.rb
|
960
|
+
- lib/facets/core/module/ancestor.rb
|
961
|
+
- lib/facets/core/module/include_as.rb
|
962
|
+
- lib/facets/core/module/rename_method.rb
|
963
|
+
- lib/facets/core/module/attr_setter.rb
|
964
|
+
- lib/facets/core/module/rename.rb
|
965
|
+
- lib/facets/core/module/dirname.rb
|
966
|
+
- lib/facets/core/module/attr.rb
|
967
|
+
- lib/facets/core/module/remove.rb
|
968
|
+
- lib/facets/core/module/sort_on.rb
|
969
|
+
- lib/facets/core/module/cattr_accessor.rb
|
970
|
+
- lib/facets/core/module/equate_on.rb
|
971
|
+
- lib/facets/core/module/redef.rb
|
972
|
+
- lib/facets/core/module/clone_using.rb
|
973
|
+
- lib/facets/core/module/by_name.rb
|
974
|
+
- lib/facets/core/module/memoize.rb
|
975
|
+
- lib/facets/core/module/wrap.rb
|
976
|
+
- lib/facets/core/module/revisal.rb
|
977
|
+
- lib/facets/core/nilclass/size.rb
|
978
|
+
- lib/facets/core/nilclass/length.rb
|
979
|
+
- lib/facets/core/nilclass/empty.rb
|
980
|
+
- lib/facets/core/nilclass/to_f.rb
|
981
|
+
- lib/facets/core/nilclass/to_h.rb
|
982
|
+
- lib/facets/core/nilclass/op_fetch.rb
|
983
|
+
- lib/facets/core/nilclass/include.rb
|
984
|
+
- lib/facets/core/numeric/succ.rb
|
985
|
+
- lib/facets/core/numeric/to_b.rb
|
986
|
+
- lib/facets/core/numeric/ceil_multiple.rb
|
987
|
+
- lib/facets/core/numeric/pred.rb
|
988
|
+
- lib/facets/core/ostruct/__update__.rb
|
989
|
+
- lib/facets/core/ostruct/__merge__.rb
|
990
|
+
- lib/facets/core/ostruct/to_h.rb
|
991
|
+
- lib/facets/core/ostruct/op_store.rb
|
992
|
+
- lib/facets/core/ostruct/op_fetch.rb
|
993
|
+
- lib/facets/core/ostruct/__table__.rb
|
994
|
+
- lib/facets/core/pathname/descend.rb
|
995
|
+
- lib/facets/core/pathname/ascend.rb
|
996
|
+
- lib/facets/core/proc/to_method.rb
|
997
|
+
- lib/facets/core/proc/compose.rb
|
998
|
+
- lib/facets/core/proc/op_mul.rb
|
999
|
+
- lib/facets/core/range/within.rb
|
1000
|
+
- lib/facets/core/range/umbrella.rb
|
1001
|
+
- lib/facets/core/range/to_r.rb
|
1002
|
+
- lib/facets/core/range/to_range.rb
|
1003
|
+
- lib/facets/core/regexp/to_regexp.rb
|
1004
|
+
- lib/facets/core/regexp/to_re.rb
|
1005
|
+
- lib/facets/core/regexp/arity.rb
|
1006
|
+
- lib/facets/core/string/self
|
1007
|
+
- lib/facets/core/string/pull.rb
|
1008
|
+
- lib/facets/core/string/push.rb
|
1009
|
+
- lib/facets/core/string/uppercase.rb
|
1010
|
+
- lib/facets/core/string/shift.rb
|
1011
|
+
- lib/facets/core/string/dresner.rb
|
1012
|
+
- lib/facets/core/string/plural.rb
|
1013
|
+
- lib/facets/core/string/word_filter.rb
|
1014
|
+
- lib/facets/core/string/unix_crypt.rb
|
1015
|
+
- lib/facets/core/string/camelcase.rb
|
1016
|
+
- lib/facets/core/string/humanize.rb
|
1017
|
+
- lib/facets/core/string/at.rb
|
1018
|
+
- lib/facets/core/string/margin.rb
|
1019
|
+
- lib/facets/core/string/dequote.rb
|
1020
|
+
- lib/facets/core/string/word_wrap.rb
|
1021
|
+
- lib/facets/core/string/last.rb
|
1022
|
+
- lib/facets/core/string/unpack.rb
|
1023
|
+
- lib/facets/core/string/rand_index.rb
|
1024
|
+
- lib/facets/core/string/nchar.rb
|
1025
|
+
- lib/facets/core/string/singular.rb
|
1026
|
+
- lib/facets/core/string/brief.rb
|
1027
|
+
- lib/facets/core/string/similarity.rb
|
1028
|
+
- lib/facets/core/string/rand_byte.rb
|
1029
|
+
- lib/facets/core/string/to_proc.rb
|
1030
|
+
- lib/facets/core/string/blank.rb
|
1031
|
+
- lib/facets/core/string/demodulize.rb
|
1032
|
+
- lib/facets/core/string/to_date.rb
|
1033
|
+
- lib/facets/core/string/chars.rb
|
1034
|
+
- lib/facets/core/string/slap.rb
|
1035
|
+
- lib/facets/core/string/starts_with.rb
|
1036
|
+
- lib/facets/core/string/first_char.rb
|
1037
|
+
- lib/facets/core/string/capitalized.rb
|
1038
|
+
- lib/facets/core/string/bytes.rb
|
1039
|
+
- lib/facets/core/string/basename.rb
|
1040
|
+
- lib/facets/core/string/downcase.rb
|
1041
|
+
- lib/facets/core/string/succ.rb
|
1042
|
+
- lib/facets/core/string/probability.rb
|
1043
|
+
- lib/facets/core/string/cmp.rb
|
1044
|
+
- lib/facets/core/string/whitespace.rb
|
1045
|
+
- lib/facets/core/string/at_rand.rb
|
1046
|
+
- lib/facets/core/string/first.rb
|
1047
|
+
- lib/facets/core/string/fold.rb
|
1048
|
+
- lib/facets/core/string/camelize.rb
|
1049
|
+
- lib/facets/core/string/unbracket.rb
|
1050
|
+
- lib/facets/core/string/range.rb
|
1051
|
+
- lib/facets/core/string/to_a.rb
|
1052
|
+
- lib/facets/core/string/to_b.rb
|
1053
|
+
- lib/facets/core/string/to_re.rb
|
1054
|
+
- lib/facets/core/string/last_char.rb
|
1055
|
+
- lib/facets/core/string/to_rx.rb
|
1056
|
+
- lib/facets/core/string/line_wrap.rb
|
1057
|
+
- lib/facets/core/string/tabto.rb
|
1058
|
+
- lib/facets/core/string/align_center.rb
|
1059
|
+
- lib/facets/core/string/words.rb
|
1060
|
+
- lib/facets/core/string/indent.rb
|
1061
|
+
- lib/facets/core/string/align_right.rb
|
1062
|
+
- lib/facets/core/string/upcase.rb
|
1063
|
+
- lib/facets/core/string/format.rb
|
1064
|
+
- lib/facets/core/string/to_const.rb
|
1065
|
+
- lib/facets/core/string/pop.rb
|
1066
|
+
- lib/facets/core/string/align_left.rb
|
1067
|
+
- lib/facets/core/string/tab.rb
|
1068
|
+
- lib/facets/core/string/range_of_line.rb
|
1069
|
+
- lib/facets/core/string/frequency.rb
|
1070
|
+
- lib/facets/core/string/lowercase.rb
|
1071
|
+
- lib/facets/core/string/to_time.rb
|
1072
|
+
- lib/facets/core/string/to_arr.rb
|
1073
|
+
- lib/facets/core/string/ordinal.rb
|
1074
|
+
- lib/facets/core/string/shuffle.rb
|
1075
|
+
- lib/facets/core/string/each_char.rb
|
1076
|
+
- lib/facets/core/string/unshift.rb
|
1077
|
+
- lib/facets/core/string/each_word.rb
|
1078
|
+
- lib/facets/core/string/bracket.rb
|
1079
|
+
- lib/facets/core/string/index_all.rb
|
1080
|
+
- lib/facets/core/string/quote.rb
|
1081
|
+
- lib/facets/core/string/regesc.rb
|
1082
|
+
- lib/facets/core/string/soundex.rb
|
1083
|
+
- lib/facets/core/string/range_all.rb
|
1084
|
+
- lib/facets/core/string/mscan.rb
|
1085
|
+
- lib/facets/core/string/ends_with.rb
|
1086
|
+
- lib/facets/core/string/shatter.rb
|
1087
|
+
- lib/facets/core/string/underscore.rb
|
1088
|
+
- lib/facets/core/string/natcmp.rb
|
1089
|
+
- lib/facets/core/string/lines.rb
|
1090
|
+
- lib/facets/core/string/modulize.rb
|
1091
|
+
- lib/facets/core/string/pathize.rb
|
1092
|
+
- lib/facets/core/string/methodize.rb
|
1093
|
+
- lib/facets/core/string/shell_escape.rb
|
1094
|
+
- lib/facets/core/string/self/patterns.rb
|
1095
|
+
- lib/facets/core/string/self/rand_letter.rb
|
1096
|
+
- lib/facets/core/string/self/random.rb
|
1097
|
+
- lib/facets/core/string/self/format.rb
|
1098
|
+
- lib/facets/core/string/self/interpolate.rb
|
1099
|
+
- lib/facets/core/symbol/camelcase.rb
|
1100
|
+
- lib/facets/core/symbol/to_proc.rb
|
1101
|
+
- lib/facets/core/symbol/capitalize.rb
|
1102
|
+
- lib/facets/core/symbol/capitalized.rb
|
1103
|
+
- lib/facets/core/symbol/downcase.rb
|
1104
|
+
- lib/facets/core/symbol/succ.rb
|
1105
|
+
- lib/facets/core/symbol/camelize.rb
|
1106
|
+
- lib/facets/core/symbol/upcase.rb
|
1107
|
+
- lib/facets/core/symbol/not.rb
|
1108
|
+
- lib/facets/core/symbol/pad.rb
|
1109
|
+
- lib/facets/core/symbol/to_const.rb
|
1110
|
+
- lib/facets/core/symbol/underscore.rb
|
1111
|
+
- lib/facets/core/symbol/to_str.rb
|
1112
|
+
- lib/facets/core/time/self
|
1113
|
+
- lib/facets/core/time/change.rb
|
1114
|
+
- lib/facets/core/time/to_date.rb
|
1115
|
+
- lib/facets/core/time/to_s.rb
|
1116
|
+
- lib/facets/core/time/stamp.rb
|
1117
|
+
- lib/facets/core/time/to_time.rb
|
1118
|
+
- lib/facets/core/time/elapse.rb
|
1119
|
+
- lib/facets/core/time/self/days_extrema.rb
|
1120
|
+
- lib/facets/core/time/self/stamp.rb
|
1121
|
+
- lib/facets/core/unboundmethod/name.rb
|
1122
|
+
- lib/facets/core/gem/self
|
1123
|
+
- lib/facets/core/gem/self/active.rb
|
1124
|
+
- lib/facets/core/gem/self/gemspec.rb
|
1125
|
+
- lib/facets/core/gem/self/gempath.rb
|
1126
|
+
- lib/facets/more/annotation.rb
|
1127
|
+
- lib/facets/more/ansicode.rb
|
1128
|
+
- lib/facets/more/association.rb
|
1129
|
+
- lib/facets/more/basicobject.rb
|
1130
|
+
- lib/facets/more/bbcode.rb
|
1131
|
+
- lib/facets/more/binaryreader.rb
|
1132
|
+
- lib/facets/more/bitmask.rb
|
1133
|
+
- lib/facets/more/classinherit.rb
|
1134
|
+
- lib/facets/more/classmethods.rb
|
1135
|
+
- lib/facets/more/cloneable.rb
|
1136
|
+
- lib/facets/more/consoleapp.rb
|
1137
|
+
- lib/facets/more/coroutine.rb
|
1138
|
+
- lib/facets/more/crypt.rb
|
1139
|
+
- lib/facets/more/dictionary.rb
|
1140
|
+
- lib/facets/more/downloader.rb
|
1141
|
+
- lib/facets/more/ormsupport.rb
|
1142
|
+
- lib/facets/more/multipliers.rb
|
1143
|
+
- lib/facets/more/bytes.rb
|
1144
|
+
- lib/facets/more/enumerablepass.rb
|
1145
|
+
- lib/facets/more/expirable.rb
|
1146
|
+
- lib/facets/more/floatstring.rb
|
1147
|
+
- lib/facets/more/functor.rb
|
1148
|
+
- lib/facets/more/heap.rb
|
1149
|
+
- lib/facets/more/inheritor.rb
|
1150
|
+
- lib/facets/more/interval.rb
|
1151
|
+
- lib/facets/more/ioredirect.rb
|
1152
|
+
- lib/facets/more/lisp_format.rb
|
1153
|
+
- lib/facets/more/lisp.rb
|
1154
|
+
- lib/facets/more/lrucache.rb
|
1155
|
+
- lib/facets/more/mathconstants.rb
|
1156
|
+
- lib/facets/more/methodprobe.rb
|
1157
|
+
- lib/facets/more/mock.rb
|
1158
|
+
- lib/facets/more/multiton.rb
|
1159
|
+
- lib/facets/more/nackclass.rb
|
1160
|
+
- lib/facets/more/nilcomparable.rb
|
1161
|
+
- lib/facets/more/nullclass.rb
|
1162
|
+
- lib/facets/more/one.rb
|
1163
|
+
- lib/facets/more/openobject.rb
|
1164
|
+
- lib/facets/more/paramix.rb
|
1165
|
+
- lib/facets/more/pool.rb
|
1166
|
+
- lib/facets/more/preinitialize.rb
|
1167
|
+
- lib/facets/more/progressbar.rb
|
1168
|
+
- lib/facets/more/quaternion.rb
|
1169
|
+
- lib/facets/more/reference.rb
|
1170
|
+
- lib/facets/more/semaphore.rb
|
1171
|
+
- lib/facets/more/snapshot.rb
|
1172
|
+
- lib/facets/more/stateparser.rb
|
1173
|
+
- lib/facets/more/statichash.rb
|
1174
|
+
- lib/facets/more/synchash.rb
|
1175
|
+
- lib/facets/more/syncarray.rb
|
1176
|
+
- lib/facets/more/system.rb
|
1177
|
+
- lib/facets/more/yamlstruct.rb
|
1178
|
+
- lib/facets/more/uninheritable.rb
|
1179
|
+
- lib/facets/more/tuple.rb
|
1180
|
+
- lib/facets/more/tracepoint.rb
|
1181
|
+
- lib/facets/more/timer.rb
|
1182
|
+
- lib/facets/more/tagiterator.rb
|
1183
|
+
- lib/facets/more/units.rb
|
1184
|
+
- lib/facets/more/times.rb
|
1185
|
+
- lib/facets/more/rtals.rb
|
1186
|
+
- lib/facets/more/typecast.rb
|
1187
|
+
- lib/facets/more/promoteself.rb
|
1188
|
+
- lib/facets/more/blankslate.rb
|
1189
|
+
- lib/facets/more/filelist.rb
|
1190
|
+
- lib/facets/more/orderedhash.rb
|
1191
|
+
- lib/facets/more/pathlist.rb
|
1192
|
+
- lib/facets/more/overload.rb
|
1193
|
+
- lib/facets/more/aspects.rb
|
553
1194
|
- test/lib
|
554
1195
|
- test/testdir.rb
|
555
1196
|
- test/FIXTURE
|