Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- C9
- 정리
- 멋사
- lecture
- 멋쟁이사자처럼
- solution
- Ruby
- PYTHON
- ruby_koans
- web
- koans
- Method
- 예제
- codecademy
- 프로그래밍
- vsCode
- 언어
- 루비
- AWS
- 메소드
- 제이쿼리
- methods
- 솔루션
- 파이썬
- 답
- 구비
- 코드카데미
- 꿀팁
- 코드아카데미
- 세팅
Archives
- Today
- Total
목록Ruby (2)
for 컴융
ruby_koans about_hashes.rb solution and methods
solution require File.expand_path(File.dirname(__FILE__) + '/neo') class AboutHashes "uno", :two => "dos" } assert_equal 2, hash.size end def test_accessing_hashes hash = { :one => "uno", :two => "d..
Ruby/ruby_koans
2018. 2. 4. 18:56
ruby_koans about_objects.rb solution and methods
solution require File.expand_path(File.dirname(__FILE__) + '/neo') class AboutObjects < Neo::Koan def test_everything_is_an_object assert_equal true, 1.is_a?(Object) assert_equal true, 1.5.is_a?(Object) assert_equal true, "string".is_a?(Object) assert_equal true, nil.is_a?(Object) assert_equal true, Object.is_a?(Object) end def test_objects_can_be_converted_to_strings assert_equal"123", 123.to_s..
Ruby/ruby_koans
2018. 2. 4. 18:36