Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 419 Bytes
1 | #!/usr/local/bin/ruby -w |
2 | |
3 | # trapping_eof.rb |
4 | # |
5 | # Created by James Edward Gray II on 2006-02-20. |
6 | # Copyright 2006 Gray Productions. All rights reserved. |
7 | |
8 | require "rubygems" |
9 | require "highline/import" |
10 | |
11 | loop do |
12 | begin |
13 | name = ask("What's your name?") |
14 | break if name == "exit" |
15 | puts "Hello, #{name}!" |
16 | rescue EOFError # HighLine throws this if @input.eof? |
17 | break |
18 | end |
19 | end |
20 | |
21 | puts "Goodbye, dear friend." |
22 | exit |