Commit Graph

161 Commits

Author SHA1 Message Date
Jim Weirich
0fb9b21a4e Fix require to include ./ 2014-01-13 15:16:46 -05:00
Jim Weirich
ad08a8de35 Handle version 2.1 2014-01-13 15:07:30 -05:00
Jim Weirich
174defbd1a Added clarification note about sending messages. 2013-11-13 23:13:26 -05:00
Jim Weirich
8d7dd30c0b Remove require_relative (#117)
Require relative is only available in modern rubies. Let's keep this
working on some of the older versions as well.

https://github.com/neo/ruby_koans/pull/117
2013-10-01 21:52:10 -04:00
Jim Weirich
482ae6f86f Using the term 'modern ruby' 2013-07-10 17:40:36 -04:00
Jim Weirich
068c9357c9 Merge branch 'master' of https://github.com/mhenry07/ruby_koans into mhenry07
* 'master' of https://github.com/mhenry07/ruby_koans:
  Update about_strings.rb
2013-07-10 17:37:45 -04:00
Jim Weirich
d3b06902d8 Merge pull request #111 from smlance/changes-1
Minor changes to existing koan files
2013-07-10 14:36:28 -07:00
Jim Weirich
3a8f125dd7 Shorter stack traces, even on exceptions. 2013-07-10 17:30:43 -04:00
Jim Weirich
0e6d826af4 Internalized assertions.
This makes us independent of test/unit and minitest.
2013-07-10 17:30:43 -04:00
smlance
cf61502734 Made a minor readability change to a comment in about_blocks.rb 2013-07-09 09:57:17 -04:00
smlance
4e5b9ca969 Fixed another small grammatical mistake (. to ? in dice file) 2013-07-09 09:44:01 -04:00
smlance
ea66a6d175 Initial minor changes (grammatical in methods; require -> require_relative in tri...). 2013-07-09 09:40:01 -04:00
michael-gebis
8ce0fb6506 Trimmed artistic end message to 79 columns.
On Windows, the standard terminal will insert a blank line after
any 80-column line.  Yes, this is a silly way for a terminal to
work, but on Windows, this is likely to happen.  Trimming to 79
columns makes things much less ugly.
2013-06-11 23:11:48 -07:00
Mike Henry
98a72a5a4c Update about_strings.rb
Update single character representation test for Ruby 2.
2013-06-10 15:34:58 -06:00
Jim Weirich
d5b787cd2b Beefed up the greed scoring tests just a bit. 2013-06-07 06:01:01 +08:00
Jim Weirich
b8fa86ed1e Merge pull request #95 from ArturMoczulski/patch-1
Fixes a silly typo in the method name
2013-06-06 14:43:06 -07:00
Jim Weirich
3f49c8f000 Merge pull request #99 from StevenNdaye/about_keyword_arguments
Wrong class name from AboutMethods to AboutKeywordArguments
2013-06-06 14:39:47 -07:00
Jim Weirich
ad5f6f5fe8 Fixed missed sum => product change 2013-06-07 05:38:44 +08:00
Jim Weirich
4509e0c8fe Merge branch 'patch-1' of https://github.com/backspace/ruby_koans into product
* 'patch-1' of https://github.com/backspace/ruby_koans:
  test_inject_will_blow_your_mind uses an incorrect memo argument name
2013-06-07 05:36:33 +08:00
Adler Santos
dfaeb570e5 corrected example code in test_each_can_use_curly_brace_blocks_too
test_each_can_use_curly_brace_blocks_too was using the do-end block instead of the curly brace syntax for the each method.
2013-06-03 02:18:29 +08:00
Buck Doyle
1ce6d52963 test_inject_will_blow_your_mind uses an incorrect memo argument name
No big NBD, but the second memo argument is better called 'product' than 'sum'.
2013-05-13 16:48:57 -03:00
Steven Ndaye
6b66d46156 Wrong class name from AboutMethods to AboutKeywordArguments 2013-05-13 11:22:02 +02:00
Artur Moczulski
f4d9dc0db7 Fixes a silly typo in the method name
in method_with_keyword_arguments_with_mandatory_argument
2013-04-24 00:24:09 -07:00
Jim Weirich
12639186cb Fix order of comparison in about symbols to follow standard. 2013-04-09 11:27:30 -04:00
Jim Weirich
197dd8eff8 Clarify the difference between here docs and multi-line strings. 2013-04-09 11:27:30 -04:00
Jim Weirich
63753656af Fix prematurely correct answer. 2013-04-09 11:27:30 -04:00
Jim Weirich
86cb9c5a27 Fixed times example. 2013-04-09 10:46:13 -04:00
Jim Weirich
a079acbacd Merge pull request #89 from lucasrcosta/master
Added Times Statement in Control Statements
2013-04-09 07:45:19 -07:00
Jim Weirich
dc8f73f107 Remove test_helper.rb 2013-04-09 10:40:49 -04:00
Jim Weirich
09b03e9b1c Change EdgeCase to Neo 2013-04-09 10:40:27 -04:00
Jim Weirich
67750bf9bf Fix missing blanks in about hashes. 2013-04-09 10:33:43 -04:00
Jim Weirich
7eb51a9a30 Remove unused files. 2013-04-09 10:33:43 -04:00
Jim Weirich
f2e4a1f357 Make each do/end usage more consistent. 2013-04-09 10:33:43 -04:00
Jim Weirich
ceca9875cf Merge pull request #87 from weilu/remove_unused_variables
Remove assigned but unused variables
2013-04-09 07:13:04 -07:00
Jim Weirich
957b672d7a Merge pull request #86 from weilu/fix_indentation
Fix indentation
2013-04-09 07:12:05 -07:00
Jim Weirich
e150dd6d9e Fix private message error for JRuby. 2013-04-09 10:10:24 -04:00
Jim Weirich
f03e0d21ee Add keyword arguments (with correct answers). 2013-04-09 09:45:23 -04:00
Jim Weirich
58238ef54a Removed fixed object_id koan
This koan is not as important now that Ruby 2 has changed all the
object ids.
2013-04-09 09:30:33 -04:00
mfeckie
9c5ecb509a Add support for Ruby 2.0 2013-04-06 13:23:56 +08:00
mfeckie
cb14e48f1d Add tests for keyword arguments in Ruby 2.0 2013-04-06 12:18:41 +08:00
mfeckie
405c42eb81 Updated Sensei for 2.0.0
Add support for Ruby 2.0.0
2013-04-06 11:31:32 +08:00
Jim Weirich
2df8e5554d Added todo for EdgeCase to Neo conversion. 2013-04-01 19:10:47 -04:00
lucasrcosta
4d41bab6e6 Added Times Statement 2013-03-10 14:31:05 -03:00
Wei Lu
aa3c83f044 Remove assigned but unused variables 2013-02-28 18:59:58 +08:00
Wei Lu
676d9ce8ac Fix indentation 2013-02-28 15:44:28 +08:00
Adam McCrea
1a073e5db5 Merge pull request #66 from oflannabhra/patch-1
Test that constants are symbols by comparing strings
2012-11-26 06:17:39 -08:00
Ethan Zimmerman
7f29082e95 Modify test to better illustrate point 2012-06-05 14:22:14 -04:00
Matthew Boston
7bef32522e Merge branch 'master' of github.com:edgecase/ruby_koans 2012-02-23 11:19:54 -05:00
Matthew Boston
48fd6fdb1e Merge branch 'master' of github.com:edgecase/ruby_koans 2012-02-10 16:32:45 -05:00
Matthew Boston
7d0550259b Merge branch 'master' of github.com:edgecase/ruby_koans 2012-02-10 16:32:34 -05:00