Tony Schneider
3334d7df48
Merge pull request #15 from Interdictor/master
...
Add test_default_value_attribute to about_hashes.rb
2023-08-09 00:32:38 -04:00
wolfsblu
49a18944ed
Replace deprecated exists call
2023-01-06 11:25:50 +01:00
Tarik Merrlees
aa614489b4
re-order first few tests to better match beginner's ability and progression
2022-02-25 15:39:10 +00:00
Tony Schneider
561965bb6a
Use alt example in about_open_classes
...
Integer#even? ended up in a more modern version of ruby (yay progress!). This updates the koan to use a different, more outlandish example, that I don’t think will end up in Ruby — and that I know Jim would appreciate <3
2022-02-13 14:54:14 +00:00
Tony Schneider
cd9bbe3df8
Merge pull request #30 from rnestler/patch-1
...
Fix name of parallel array assignement test
2022-02-13 11:02:53 +00:00
Raphael Nestler
353e281470
Fix name of parallel array assignement test
...
There are two variables and just one value, so I think
`test_parallel_assignments_with_too_few_values` is a better name.
2022-02-10 14:44:52 +01:00
Matt Schouten
08945a10a1
Add support for Ruby 3
2021-09-09 16:30:31 -05:00
interdictor
e647408062
Add test_default_value_attribute to about_hashes.rb
2020-05-21 22:45:22 +02:00
Jeremy Alles
dc5bbb58f8
display progress as percentage
2020-05-11 14:17:27 +02:00
Mike Doel
3efe58ac1e
Resolve #12 - behavior change in ruby 2.7
2020-02-24 10:03:00 -05:00
Mike Doel
ff3795a815
Eliminate warning about method_missing being redefined
2020-02-18 15:06:35 -05:00
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