Permalink
Commits on Apr 28, 2011
  1. Merge branch 'flexible_conditionals'

    Conflicts:
    	lib/object.fy
    committed Apr 28, 2011
  2. More refactorings. Rely on if_true:else: to be overriden for changing…

    … conditional behaviour of objects. Also removed if_do:/if_do:else: methods and replaced all calls to it with if_true:/if_true:else:. Some other minor cleanups.
    committed Apr 28, 2011
  3. Fixes to ifancy.

    committed Apr 28, 2011
  4. Added testcase for true? method

    committed Apr 28, 2011
  5. More refactorings and test updates. By default true? returns true (by…

    … default any value except for nil and false are true - they're truthy in the boolean sense of the language). The true? method can be overridden in subclasses, if necessary.
    committed Apr 28, 2011
  6. Refactored Object#and: / Object#or: and added && and || as aliases fo…

    …r them.
    
    Conflicts:
    
    	lib/object.fy
    committed Apr 28, 2011
  7. Fix if_true: for false and nil

    manveru committed Apr 28, 2011
  8. Simplify conditionals

    manveru committed Apr 28, 2011
  9. Merge branch 'master' into enumerator

    * master:
      Simplify FancyEnumerable#each:in_between:
    manveru committed Apr 28, 2011
Commits on Apr 27, 2011
  1. Merge branch 'master' into enumerator

    * master:
      Fixed typos in docstrings for TrueClass.
      Moved lib/rbx/false_class to lib/ and fixed docstrings.
      Fixed docstrings for NilClass & TrueClass.
    manveru committed Apr 27, 2011
  2. Merge branch 'master' into enumerator

    * master:
      Added missing file...
      Moved Fancy::BreakIteration and Fancy::NextIteration classes into lib/iteration.fy
      Made control flow tests easier to read.
      Merge branch 'master' into iterations
      Explicitly return value of last expression of block in Array#each: (TODO: fix try/catch to do this automatically).
      Fix formatting for tests to be more readable.
      Call given block in Block#while_true: with the value of calling self.
      Implement break and next for loops
      Add Number#upto:do: and Number#downto:do:
    
    Conflicts:
    	lib/boot.fy
    manveru committed Apr 27, 2011
  3. Move FancyEnumerator into lib

    manveru committed Apr 27, 2011
Commits on Apr 26, 2011
  1. Added missing file...

    committed Apr 26, 2011
  2. Merge branch 'master' into iterations

    Conflicts:
    	lib/array.fy
    	tests/control_flow.fy
    committed Apr 26, 2011
  3. Prettier error reporting output

    committed Apr 26, 2011
  4. Merged pull request #63 from manveru/master.

    Improve FancySpec to show mismatch locations
    committed Apr 26, 2011
  5. Remove useless parenthesis

    manveru committed Apr 26, 2011
  6. Merge branch 'master' into iterations

    Conflicts:
    	lib/number.fy
    	lib/rbx/array.fy
    	tests/control_flow.fy
    committed Apr 26, 2011
  7. Fix docstring for Array#product

    committed Apr 26, 2011