Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #2617
| From | william nelson <wanelson23@gmail.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Beginner's Beginner |
| Date | 2011-04-11 04:26 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <5eb7523dd74392a56e954a3486b4830f@ruby-forum.com> (permalink) |
I am trying to execute the Sudoku Solver listed in the book "The Ruby Programming Book" (pages 17 -24) The code for the Sudoku Module is available online but I do not understand the following instruction: require 'sudoku' puts Sudoku.solver(Sudoku::Puzzle.new(ARGF.readlines)) Can someone walk me through (baby-steps) how to actually "require" sudoku so that I can see the Module in action. The more explicit your answer the better since I am a newbee's newbee! -- Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Next in thread | Find similar | Unroll thread
Beginner's Beginner william nelson <wanelson23@gmail.com> - 2011-04-11 04:26 -0500
Re: Beginner's Beginner 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-11 15:04 -0500
Re: Beginner's Beginner 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-11 18:23 -0500
csiph-web