Files | Admin

Notes:

Release Name: 0.2

Notes:
This work is licensed under the BSD license. See License.txt for details

== What is Utilrb ?
Utilrb is yet another Ruby toolkit, in the spirit of facets. It includes all
the standard class extensions I use in my own projects like Genom.rb.

== Utilrb's C extension
Utilrb includes a C extension in ext/. It is optional, but some of the
functionalities will be disabled if it is not present. Trying to require
a file in which there is a C-only feature will yield a warning on STDOUT.

* some features have a Ruby version, but a C version is provided for
  performance:
  - Enumerable#each_uniq


Changes: === Version 0.2.1 * new features: - is_singleton? - inherited_enumerable (class_inherited_enumerable on steroids) - attribute() can be used in singleton classes (previously we had to call class_attribute() in the class itself) - UnboundMethod#call(obj, *args, &block) calls the method on obj with the provided arguments * changes: - changed semantics of Module::include for inclusion of modules in modules: the source_module::ClassExtension gets included in target_module::ClassExtension. Previously, it was extending the target's singleton class. This way, Module really acts as a mixin for both class methods and instance methods