This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'spec' | |
# Here is the problem, I want to replace statements like this: | |
# | |
# puts (OddRecognizer.new.knows?(1) or OddRecognizer.new.knows?(3)) ? "there are odds" : "there is no odd" | |
# | |
# With this syntax: | |
# puts OddRecognizer.new.knows?(1).or?(3) ? "there are odds" : "there is no odd" | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'spec' | |
# Here is the problem, I want to replace statements like this: | |
# | |
# puts (EvenRecognizer.new.knows?(1) or EvenRecognizer.new.knows?(3)) ? "there are odds" : "there is no odd" | |
# | |
# With this syntax: | |
# puts EvenRecognizer.new.knows?(1).or?(3) ? "there are odds" : "there is no odd" | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ ] Installer | |
[ ] Write better README than one in repository. State virtues and limitations | |
[ ] Include Ruby License during License agreement screen | |
[ ] Display History.txt (extract) on installation completion | |
[*] Bugfixes for rb-readline (Luis) | |
[ ] Documentation | |
[*] Generate CHM files for Core and Standard Library (Gordon Thiesfeld) | |
[*] Finish Rdoc_CHM 2.4.0, and release gem on Rubyforge | |
[X] Add a main page to the main CHM file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ ] Installer | |
[ ] Write better README than one in repository. State virtues and limitations | |
[X] Include Ruby License during License agreement screen | |
[X] Display History.txt (extract) on installation completion | |
[*] Bugfixes for rb-readline (Luis) | |
[ ] Documentation | |
[*] Generate CHM files for Core and Standard Library (Gordon Thiesfeld) | |
[X] Finish Rdoc_CHM 2.4.0, and release gem on Rubyforge | |
[X] Add a main page to the main CHM file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <stdio.h> | |
int run(CHAR *path) | |
{ | |
WIN32_FILE_ATTRIBUTE_DATA wfad; | |
int a, e; | |
printf("Checking '%s'\n", path); | |
a = GetFileAttributesEx(path, GetFileExInfoStandard, &wfad); |