case_when.rb

Ruby中級

Explorer

C40
C++40
C#40
Dart40
Go40
Java40
JavaScript40
Kotlin40
Objective-C40
Perl40
PHP40
Python40
R40
Ruby
初級10
中級10
block_yield.rb
map_compact.rb
hash_transform.rb
case_when.rb
module_include.rb
proc_lambda.rb
rescue_inline.rb
enumerable_chain.rb
keyword_args.rb
array_zip.rb
上級10
エキスパート5
マスター5
Rust40
Shell40
Swift40
TypeScript40
case_when.rb
Click to focus
1
2
3
4
5
status = case score
when 90..100 then :excellent
when 70..89 then :good
else :needs_work
end
0WPM0%0:000/92(0%)|Ln 1, Col 1
UTF-8Ruby

関連する練習問題