mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-17 07:53:20 -04:00
Add support for Ruby 2.0
This commit is contained in:
@@ -14,7 +14,7 @@ class AboutIteration < EdgeCase::Koan
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
in_ruby_version("1.9") do
|
in_ruby_version("1.9", "2.0") do
|
||||||
def as_name(name)
|
def as_name(name)
|
||||||
name.to_sym
|
name.to_sym
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user