Permalink
Commits on Jul 5, 2011
  1. Simplified Hash methods

    committed Jul 5, 2011
Commits on Jun 29, 2011
  1. Moved FancyEnumerable#sum and #product to lib/enumerable.fy and also …

    …added FancyEnumerable#average.
    committed Jun 29, 2011
Commits on Jun 28, 2011
  1. Added boot/fancy_ext/delegator.rb (taken from sinatra.fy) since simil…

    …ar problems as with sinatra were popping up with the Delegator class (can't handle method names starting with e.g. ":").
    committed Jun 28, 2011
  2. Small update to README

    committed Jun 28, 2011
Commits on Jun 27, 2011
  1. Moved fdoc helper method for removing leading indentation in multi-li…

    …ne docstrings to String class (String#skip_leading_indentation) and use that in fdoc as well as Fancy Documentation#to_s. Also, by default, Object#documentation now returns the Documentation object, not just its docstring.
    committed Jun 27, 2011
Commits on Jun 26, 2011
  1. Added Stack#each:

    committed Jun 26, 2011
Commits on Jun 25, 2011
  1. Changed test info strings to be homogeneous and got rid of the 'it: "…

    …should .."' style and replaced it with 'it: "is .."' as it reads nicer.
    committed Jun 25, 2011
Commits on Jun 24, 2011
  1. Fixed Object#print docstring.

    committed Jun 24, 2011
  2. Use all arguments passed to bin/fyi as identifier (needed for e.g. ne…

    …sted class identifiers like "Fancy Package").
    committed Jun 24, 2011
  3. Added Object#do: which allows message cascading style code by calling…

    … the code with the receiver as the receiver (using Block#call_with_receiver:).
    committed Jun 24, 2011
  4. Small syntax improvement: Allow defining empty classes or methods by …

    …ommitting an empty pair of curly braces, e.g.
    
    class Foo
    class Bar : Foo
    class Baz : Bar {
      def initialize: @foobarbaz # only do auto-ivar-assignment
      def empty_method # will simply return nil
    }
    committed Jun 24, 2011
Commits on Jun 23, 2011
  1. Renamed Object#send_message:with_params: to Object#receive_message:wi…

    …th_params: as it makes more sense in terms of message passing semantics. The receiver is receiving a message and not supposed to send one to another object.
    committed Jun 23, 2011
  2. Return "Block" for Block##to_s

    committed Jun 23, 2011