Skip to content

Commit

Permalink
Fix if_true: for false and nil
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Apr 28, 2011
1 parent 8eeb907 commit 776c4e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/false_class.fy
Expand Up @@ -9,6 +9,7 @@ class FalseClass {

def if_true: block {
"Returns @nil."
nil
}

def if_true: then_block else: else_block {
Expand Down
1 change: 1 addition & 0 deletions lib/nil_class.fy
Expand Up @@ -9,6 +9,7 @@ class NilClass {

def if_true: block {
"Returns @nil."
nil
}

def if_true: then_block else: else_block {
Expand Down

0 comments on commit 776c4e6

Please sign in to comment.