ruby_learner 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +17 -17
  4. data/{workshop → lib/datas}/emacs_help.org +0 -0
  5. data/lib/datas/final_history_sequential.txt +1 -0
  6. data/lib/ruby_learner/methods.rb +183 -24
  7. data/lib/ruby_learner/ruby_learner.rb +15 -7
  8. data/lib/ruby_learner/typing_practice.rb +6 -2
  9. data/lib/ruby_learner/version.rb +1 -1
  10. data/questions/sequential_check/section_1/part_1/lib/answer.rb +3 -9
  11. data/questions/sequential_check/section_1/part_1/lib/sentence.org +2 -9
  12. data/questions/sequential_check/section_1/part_1/lib/workplace.rb +1 -5
  13. data/questions/sequential_check/section_1/part_1/spec/workplace_spec.rb +6 -7
  14. data/questions/sequential_check/section_1/part_2/lib/answer.rb +4 -15
  15. data/questions/sequential_check/section_1/part_2/lib/sentence.org +2 -12
  16. data/questions/sequential_check/section_1/part_2/lib/workplace.rb +1 -5
  17. data/questions/sequential_check/section_1/part_2/spec/workplace_spec.rb +7 -9
  18. data/questions/sequential_check/section_1/part_3/lib/answer.rb +3 -0
  19. data/questions/sequential_check/section_1/part_3/lib/sentence.org +2 -0
  20. data/questions/sequential_check/section_1/part_3/lib/workplace.rb +1 -0
  21. data/questions/sequential_check/section_1/part_3/spec/spec_helper.rb +100 -0
  22. data/questions/sequential_check/section_1/part_3/spec/workplace_spec.rb +9 -0
  23. data/questions/sequential_check/section_10/part_1/lib/answer.rb +7 -0
  24. data/questions/sequential_check/section_10/part_1/lib/sentence.org +2 -0
  25. data/questions/sequential_check/section_10/part_1/lib/workplace.rb +1 -0
  26. data/questions/sequential_check/section_10/part_1/spec/spec_helper.rb +100 -0
  27. data/questions/sequential_check/section_10/part_1/spec/workplace_spec.rb +10 -0
  28. data/questions/sequential_check/section_10/part_2/lib/answer.rb +8 -0
  29. data/questions/sequential_check/section_10/part_2/lib/sentence.org +3 -0
  30. data/questions/sequential_check/section_10/part_2/lib/workplace.rb +1 -0
  31. data/questions/sequential_check/section_10/part_2/spec/spec_helper.rb +100 -0
  32. data/questions/sequential_check/section_10/part_2/spec/workplace_spec.rb +15 -0
  33. data/questions/sequential_check/section_11/part_1/lib/answer.rb +7 -0
  34. data/questions/sequential_check/section_11/part_1/lib/sentence.org +4 -0
  35. data/questions/sequential_check/section_11/part_1/lib/workplace.rb +1 -0
  36. data/questions/sequential_check/section_11/part_1/spec/spec_helper.rb +100 -0
  37. data/questions/sequential_check/section_11/part_1/spec/workplace_spec.rb +15 -0
  38. data/questions/sequential_check/section_11/part_2/lib/answer.rb +6 -0
  39. data/questions/sequential_check/section_11/part_2/lib/sentence.org +2 -0
  40. data/questions/sequential_check/section_11/part_2/lib/workplace.rb +1 -0
  41. data/questions/sequential_check/section_11/part_2/spec/spec_helper.rb +100 -0
  42. data/questions/sequential_check/section_11/part_2/spec/workplace_spec.rb +13 -0
  43. data/questions/sequential_check/section_2/part_1/lib/answer.rb +8 -0
  44. data/questions/sequential_check/section_2/part_1/lib/sentence.org +2 -0
  45. data/questions/sequential_check/section_2/part_1/lib/workplace.rb +1 -0
  46. data/questions/sequential_check/section_2/part_1/spec/spec_helper.rb +100 -0
  47. data/questions/sequential_check/section_2/part_1/spec/workplace_spec.rb +14 -0
  48. data/questions/sequential_check/section_2/part_2/lib/answer.rb +14 -0
  49. data/questions/sequential_check/section_2/part_2/lib/sentence.org +2 -0
  50. data/questions/sequential_check/section_2/part_2/lib/workplace.rb +1 -0
  51. data/questions/sequential_check/section_2/part_2/spec/spec_helper.rb +100 -0
  52. data/questions/sequential_check/section_2/part_2/spec/workplace_spec.rb +14 -0
  53. data/questions/sequential_check/section_3/part_1/lib/answer.rb +11 -0
  54. data/questions/sequential_check/section_3/part_1/lib/sentence.org +2 -0
  55. data/questions/sequential_check/section_3/part_1/lib/workplace.rb +1 -0
  56. data/questions/sequential_check/section_3/part_1/spec/spec_helper.rb +100 -0
  57. data/questions/sequential_check/section_3/part_1/spec/workplace_spec.rb +15 -0
  58. data/questions/sequential_check/section_4/part_1/lib/answer.rb +9 -0
  59. data/questions/sequential_check/section_4/part_1/lib/sentence.org +2 -0
  60. data/questions/sequential_check/section_4/part_1/lib/workplace.rb +2 -0
  61. data/questions/sequential_check/section_4/part_1/spec/spec_helper.rb +100 -0
  62. data/questions/sequential_check/section_4/part_1/spec/workplace_spec.rb +14 -0
  63. data/questions/sequential_check/section_5/part_1/lib/answer.rb +8 -0
  64. data/questions/sequential_check/section_5/part_1/lib/sentence.org +2 -0
  65. data/questions/sequential_check/section_5/part_1/lib/workplace.rb +1 -0
  66. data/questions/sequential_check/section_5/part_1/spec/spec_helper.rb +100 -0
  67. data/questions/sequential_check/section_5/part_1/spec/workplace_spec.rb +14 -0
  68. data/questions/sequential_check/section_5/part_2/lib/answer.rb +5 -0
  69. data/questions/sequential_check/section_5/part_2/lib/sentence.org +2 -0
  70. data/questions/sequential_check/section_5/part_2/lib/workplace.rb +1 -0
  71. data/questions/sequential_check/section_5/part_2/spec/spec_helper.rb +100 -0
  72. data/questions/sequential_check/section_5/part_2/spec/workplace_spec.rb +9 -0
  73. data/questions/sequential_check/section_6/part_1/lib/answer.rb +5 -0
  74. data/questions/sequential_check/section_6/part_1/lib/sentence.org +2 -0
  75. data/questions/sequential_check/section_6/part_1/lib/workplace.rb +1 -0
  76. data/questions/sequential_check/section_6/part_1/spec/spec_helper.rb +100 -0
  77. data/questions/sequential_check/section_6/part_1/spec/workplace_spec.rb +14 -0
  78. data/questions/sequential_check/section_6/part_2/lib/answer.rb +7 -0
  79. data/questions/sequential_check/section_6/part_2/lib/sentence.org +3 -0
  80. data/questions/sequential_check/section_6/part_2/lib/workplace.rb +1 -0
  81. data/questions/sequential_check/section_6/part_2/spec/spec_helper.rb +100 -0
  82. data/questions/sequential_check/section_6/part_2/spec/workplace_spec.rb +14 -0
  83. data/questions/sequential_check/section_6/part_3/lib/answer.rb +7 -0
  84. data/questions/sequential_check/section_6/part_3/lib/sentence.org +3 -0
  85. data/questions/sequential_check/section_6/part_3/lib/workplace.rb +1 -0
  86. data/questions/sequential_check/section_6/part_3/spec/spec_helper.rb +100 -0
  87. data/questions/sequential_check/section_6/part_3/spec/workplace_spec.rb +9 -0
  88. data/questions/sequential_check/section_6/part_4/lib/answer.rb +9 -0
  89. data/questions/sequential_check/section_6/part_4/lib/sentence.org +3 -0
  90. data/questions/sequential_check/section_6/part_4/lib/workplace.rb +1 -0
  91. data/questions/sequential_check/section_6/part_4/spec/spec_helper.rb +100 -0
  92. data/questions/sequential_check/section_6/part_4/spec/workplace_spec.rb +9 -0
  93. data/questions/sequential_check/section_7/part_1/lib/answer.rb +5 -0
  94. data/questions/sequential_check/section_7/part_1/lib/sentence.org +3 -0
  95. data/questions/sequential_check/section_7/part_1/lib/workplace.rb +1 -0
  96. data/questions/sequential_check/section_7/part_1/spec/spec_helper.rb +100 -0
  97. data/questions/sequential_check/section_7/part_1/spec/workplace_spec.rb +14 -0
  98. data/questions/sequential_check/section_7/part_2/lib/answer.rb +9 -0
  99. data/questions/sequential_check/section_7/part_2/lib/sentence.org +2 -0
  100. data/questions/sequential_check/section_7/part_2/lib/workplace.rb +1 -0
  101. data/questions/sequential_check/section_7/part_2/spec/spec_helper.rb +100 -0
  102. data/questions/sequential_check/section_7/part_2/spec/workplace_spec.rb +10 -0
  103. data/questions/sequential_check/section_8/part_1/lib/answer.rb +9 -0
  104. data/questions/sequential_check/section_8/part_1/lib/sentence.org +2 -0
  105. data/questions/sequential_check/section_8/part_1/lib/workplace.rb +1 -0
  106. data/questions/sequential_check/section_8/part_1/spec/spec_helper.rb +100 -0
  107. data/questions/sequential_check/section_8/part_1/spec/workplace_spec.rb +15 -0
  108. data/questions/sequential_check/section_9/part_1/lib/answer.rb +5 -0
  109. data/questions/sequential_check/section_9/part_1/lib/sentence.org +2 -0
  110. data/questions/sequential_check/section_9/part_1/lib/workplace.rb +1 -0
  111. data/questions/sequential_check/section_9/part_1/spec/spec_helper.rb +100 -0
  112. data/questions/sequential_check/section_9/part_1/spec/workplace_spec.rb +10 -0
  113. data/questions/sequential_check/section_9/part_2/lib/answer.rb +7 -0
  114. data/questions/sequential_check/section_9/part_2/lib/sentence.org +2 -0
  115. data/questions/sequential_check/section_9/part_2/lib/workplace.rb +1 -0
  116. data/questions/sequential_check/section_9/part_2/spec/spec_helper.rb +100 -0
  117. data/questions/sequential_check/section_9/part_2/spec/workplace_spec.rb +10 -0
  118. data/questions/sequential_check/section_9/part_3/lib/answer.rb +12 -0
  119. data/questions/sequential_check/section_9/part_3/lib/sentence.org +2 -0
  120. data/questions/sequential_check/section_9/part_3/lib/workplace.rb +1 -0
  121. data/questions/sequential_check/section_9/part_3/spec/spec_helper.rb +100 -0
  122. data/questions/sequential_check/section_9/part_3/spec/workplace_spec.rb +10 -0
  123. data/takahashi/docs/README.org +9 -0
  124. data/takahashi/docs/README.org~ +139 -0
  125. data/takahashi/docs/drill.html +189 -135
  126. data/takahashi/docs/drill.html~ +171 -187
  127. data/takahashi/docs/drill.org +163 -120
  128. data/takahashi/sample_prog/answer/10_2.rb +6 -0
  129. data/takahashi/sample_prog/answer/8_1.rb +9 -0
  130. data/takahashi/sample_prog/question/10_1.rb +2 -0
  131. data/takahashi/sample_prog/question/10_2.rb +3 -0
  132. data/takahashi/sample_prog/question/11_1.rb +4 -0
  133. data/takahashi/sample_prog/question/11_2.rb +2 -0
  134. data/takahashi/sample_prog/question/1_1.rb +2 -0
  135. data/takahashi/sample_prog/question/1_2.rb +2 -0
  136. data/takahashi/sample_prog/question/1_3.rb +2 -0
  137. data/takahashi/sample_prog/question/2_1.rb +2 -0
  138. data/takahashi/sample_prog/question/2_2.rb +2 -0
  139. data/takahashi/sample_prog/question/3_1.rb +2 -0
  140. data/takahashi/sample_prog/question/4_1.rb +2 -0
  141. data/takahashi/sample_prog/question/5_1.rb +2 -0
  142. data/takahashi/sample_prog/question/5_2.rb +2 -0
  143. data/takahashi/sample_prog/question/6_1.rb +2 -0
  144. data/takahashi/sample_prog/question/6_2.rb +3 -0
  145. data/takahashi/sample_prog/question/6_3.rb +3 -0
  146. data/takahashi/sample_prog/question/6_4.rb +3 -0
  147. data/takahashi/sample_prog/question/7_1.rb +3 -0
  148. data/takahashi/sample_prog/question/7_2.rb +2 -0
  149. data/takahashi/sample_prog/question/8_1.rb +2 -0
  150. data/takahashi/sample_prog/question/9_1.rb +2 -0
  151. data/takahashi/sample_prog/question/9_2.rb +2 -0
  152. data/takahashi/sample_prog/question/9_3.rb +2 -0
  153. data/workshop/emacs.d/#init# +1 -0
  154. data/workshop/emacs.d/init.el +8 -8
  155. data/workshop/emacs.d/ruby_learner_init.el +8 -8
  156. data/workshop/lib/for-def-read.rb +3 -0
  157. data/workshop/lib/for-read.txt +5 -0
  158. metadata +138 -7
  159. data/lib/ruby_learner/h.rb +0 -14
  160. data/lib/ruby_learner/random_h.rb +0 -16
  161. data/lib/ruby_learner/sequential_h.rb +0 -15
  162. data/workshop/training_data.txt +0 -3
@@ -0,0 +1,6 @@
1
+ def hello(name)
2
+ print 'Hello, ', name, ".\n"
3
+ end
4
+
5
+ hello(ARGV[0])
6
+ hello(ARGV[1])
@@ -0,0 +1,9 @@
1
+ n = /#{ARGV[0]}/
2
+
3
+
4
+ if n =~ "Hello, Ruby."
5
+ print "match.\n"
6
+ else
7
+ print "not match.\n"
8
+ end
9
+
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 「Hello, Ruby.」と表示するメソッドhelloを用いて、「Hello, Ruby.」と表示するプログラムを作成せよ。
@@ -0,0 +1,3 @@
1
+ # -*- coding: utf-8 -*-
2
+ 1つの文字列を受け取り、「Hello, [受け取った文字列].」と表示するメソッドhelloを作成し、
3
+ 2つの文字列を受け取り、「Hello, [受け取った文字列].」と2行表示するプログラムを作成せよ。
@@ -0,0 +1,4 @@
1
+ # -*- coding: utf-8 -*-
2
+ 1つの文字列を受け取り、「Hello, [受け取った文字列].」と表示するメソッドhelloが書かれたプログラムhello.rbがある。
3
+
4
+ このプログラムを取り込んで、1つの文字列を受け取り、「Hello, [受け取った文字列].」と表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ Rubyの標準ライブラリ「date」を用いて、Rubyが誕生した1993年2月24日から、今日までの日数を表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 「Hello, Ruby.」という文字列を表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 「Hello, "Ruby".」という文字列を表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 「"Hello,\n\tRuby."」という文字列を表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ コマンドラインから5つの引数を受け取り、受け取った順に表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ コマンドラインから数値を2つ受け取り、その和、差、積、商を表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 3つの数値をx、y、zとして受け取り、縦x、横y、高さzの直方体の表面積と体積を求め、表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 1つの数値を受け取り、それが10より大きければ「greater」小さければ「smaller」と表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 1つの数値をnとして受け取り、1からnまでの数を順番に表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 「All work and no play makes Jack a dull boy.」と5行表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 1つの数値をnとして受け取り、配列のn番目の要素を取り出し、表示するプログラムを作成せよ。ただし、配列はプログラム内で定義し、配列には数値が入るものとする。
@@ -0,0 +1,3 @@
1
+ # -*- coding: utf-8 -*-
2
+ 配列の先頭の要素をコマンドラインに入力した要素に変更するプログラムを作成せよ。
3
+ ただし、配列はプログラム内で定義し、配列には数値が入るものとする。
@@ -0,0 +1,3 @@
1
+ # -*- coding: utf-8 -*-
2
+ 配列を表示し、その配列の大きさも表示するプログラムを作成せよ。
3
+ ただし、配列はプログラム内で定義すること。
@@ -0,0 +1,3 @@
1
+ # -*- coding: utf-8 -*-
2
+ 配列全体を表示してから、配列の要素を順に表示するプログラムを作成せよ。
3
+ ただし、配列はプログラム内で定義すること。
@@ -0,0 +1,3 @@
1
+ # -*- coding: utf-8 -*-
2
+ 1つの文字列を受け取り、シンボルに変換して表示するプログラムを作成せよ。
3
+
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ :name, :furigana というそれぞれのキーに"高橋", "タカハシ"というオブジェクトが格納されているハッシュを作成、表示し、さらに:tel というキーに"000-1234-5678"を格納して再度表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 1つの文字列を受け取り、それが「Hello, Ruby」とマッチするなら「match.」マッチしないなら「not match」と表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 1つの文字列を受け取り、該当するファイル名のテキストデータを表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 1つの文字列を受け取り、該当するファイル名のテキストデータを1行ずつ読み取り、表示するプログラムを作成せよ。
@@ -0,0 +1,2 @@
1
+ # -*- coding: utf-8 -*-
2
+ 2つの文字列を受け取り、2つ目の文字列に該当するファイル名のテキストデータの中から、1つ目の文字列にマッチする行を出力するプログラムを作成せよ。
@@ -0,0 +1 @@
1
+ xc
@@ -17,15 +17,15 @@
17
17
  ;; tabの自動生成がうっとおしいからやめた
18
18
 
19
19
  ;; elファイルの置き場所を設定
20
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/inits" load-path))
21
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/ruby-mode" load-path))
22
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/processing-mode" load-path))
23
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/haml-mode-master" load-path))
24
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/org-mode" load-path))
25
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/themes" load-path))
20
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/inits" load-path))
21
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/ruby-mode" load-path))
22
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/processing-mode" load-path))
23
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/haml-mode-master" load-path))
24
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/org-mode" load-path))
25
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/themes" load-path))
26
26
  ;;setting_theme
27
- (add-to-list 'custom-theme-load-path "~/ruby_learner/workshop/emacs.d/themes")
28
- (setq custom-theme-directory "~/ruby_learner/workshop/emacs.d/themes")
27
+ (add-to-list 'custom-theme-load-path "~/ruby_learner/workshop/.emacs.d/themes")
28
+ (setq custom-theme-directory "~/ruby_learner/workshop/.emacs.d/themes")
29
29
  ;;(load-theme 'iceberg t)
30
30
  ;;(load-theme 'dracula t)
31
31
  ;;(load-theme 'my-misterioso t)
@@ -17,12 +17,12 @@
17
17
  ;; tabの自動生成がうっとおしいからやめた
18
18
 
19
19
  ;; elファイルの置き場所を設定
20
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/inits" load-path))
21
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/ruby-mode" load-path))
22
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/processing-mode" load-path))
23
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/haml-mode-master" load-path))
24
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/org-mode" load-path))
25
- (setq load-path (cons "~/ruby_learner/workshop/emacs.d/themes" load-path))
20
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/inits" load-path))
21
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/ruby-mode" load-path))
22
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/processing-mode" load-path))
23
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/haml-mode-master" load-path))
24
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/org-mode" load-path))
25
+ (setq load-path (cons "~/ruby_learner/workshop/.emacs.d/themes" load-path))
26
26
 
27
27
  ;; 画面分割
28
28
  (setq w (selected-window))
@@ -36,8 +36,8 @@
36
36
  (ruby-mode)
37
37
  (find-file "~/ruby_learner/workshop/lib/answer.rb")
38
38
  ;;setting_theme
39
- (add-to-list 'custom-theme-load-path "~/ruby_learner/workshop/emacs.d/themes")
40
- (setq custom-theme-directory "~/ruby_learner/workshop/emacs.d/themes")
39
+ (add-to-list 'custom-theme-load-path "~/ruby_learner/workshop/.emacs.d/themes")
40
+ (setq custom-theme-directory "~/ruby_learner/workshop/.emacs.d/themes")
41
41
  ;;(load-theme 'iceberg t)
42
42
  ;;(load-theme 'dracula t)
43
43
  ;;(load-theme 'my-misterioso t)
@@ -0,0 +1,3 @@
1
+ def hello(name)
2
+ print 'Hello, ', name, ".\n"
3
+ end
@@ -0,0 +1,5 @@
1
+ このファイルはファイル読み込み用の練習ファイルです。
2
+
3
+ むかしむかし、あるところに、おじいさんとおばあさんが住んでいました。
4
+ おじいさんは山へしばかりに、おばあさんは川へせんたくに行きました。
5
+ おばあさんが川でせんたくをしていると、ドンブラコ、ドンブラコと、大きな桃が流れてきました。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_learner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takaki Otsu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-04 00:00:00.000000000 Z
11
+ date: 2018-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -151,11 +151,10 @@ files:
151
151
  - docs/happy_ruby/c3_4.ipynb
152
152
  - docs/seminar/8-1.org
153
153
  - exe/ruby_learner
154
- - lib/ruby_learner/h.rb
154
+ - lib/datas/emacs_help.org
155
+ - lib/datas/final_history_sequential.txt
155
156
  - lib/ruby_learner/methods.rb
156
- - lib/ruby_learner/random_h.rb
157
157
  - lib/ruby_learner/ruby_learner.rb
158
- - lib/ruby_learner/sequential_h.rb
159
158
  - lib/ruby_learner/typing_practice.rb
160
159
  - lib/ruby_learner/version.rb
161
160
  - questions/random_check/.rspec
@@ -184,14 +183,121 @@ files:
184
183
  - questions/sequential_check/section_1/part_2/spec/.rspec
185
184
  - questions/sequential_check/section_1/part_2/spec/spec_helper.rb
186
185
  - questions/sequential_check/section_1/part_2/spec/workplace_spec.rb
186
+ - questions/sequential_check/section_1/part_3/lib/answer.rb
187
+ - questions/sequential_check/section_1/part_3/lib/sentence.org
188
+ - questions/sequential_check/section_1/part_3/lib/workplace.rb
189
+ - questions/sequential_check/section_1/part_3/spec/spec_helper.rb
190
+ - questions/sequential_check/section_1/part_3/spec/workplace_spec.rb
191
+ - questions/sequential_check/section_10/part_1/lib/answer.rb
192
+ - questions/sequential_check/section_10/part_1/lib/sentence.org
193
+ - questions/sequential_check/section_10/part_1/lib/workplace.rb
194
+ - questions/sequential_check/section_10/part_1/spec/spec_helper.rb
195
+ - questions/sequential_check/section_10/part_1/spec/workplace_spec.rb
196
+ - questions/sequential_check/section_10/part_2/lib/answer.rb
197
+ - questions/sequential_check/section_10/part_2/lib/sentence.org
198
+ - questions/sequential_check/section_10/part_2/lib/workplace.rb
199
+ - questions/sequential_check/section_10/part_2/spec/spec_helper.rb
200
+ - questions/sequential_check/section_10/part_2/spec/workplace_spec.rb
201
+ - questions/sequential_check/section_11/part_1/lib/answer.rb
202
+ - questions/sequential_check/section_11/part_1/lib/sentence.org
203
+ - questions/sequential_check/section_11/part_1/lib/workplace.rb
204
+ - questions/sequential_check/section_11/part_1/spec/spec_helper.rb
205
+ - questions/sequential_check/section_11/part_1/spec/workplace_spec.rb
206
+ - questions/sequential_check/section_11/part_2/lib/answer.rb
207
+ - questions/sequential_check/section_11/part_2/lib/sentence.org
208
+ - questions/sequential_check/section_11/part_2/lib/workplace.rb
209
+ - questions/sequential_check/section_11/part_2/spec/spec_helper.rb
210
+ - questions/sequential_check/section_11/part_2/spec/workplace_spec.rb
211
+ - questions/sequential_check/section_2/part_1/lib/answer.rb
212
+ - questions/sequential_check/section_2/part_1/lib/sentence.org
213
+ - questions/sequential_check/section_2/part_1/lib/workplace.rb
214
+ - questions/sequential_check/section_2/part_1/spec/spec_helper.rb
215
+ - questions/sequential_check/section_2/part_1/spec/workplace_spec.rb
216
+ - questions/sequential_check/section_2/part_2/lib/answer.rb
217
+ - questions/sequential_check/section_2/part_2/lib/sentence.org
218
+ - questions/sequential_check/section_2/part_2/lib/workplace.rb
219
+ - questions/sequential_check/section_2/part_2/spec/spec_helper.rb
220
+ - questions/sequential_check/section_2/part_2/spec/workplace_spec.rb
221
+ - questions/sequential_check/section_3/part_1/lib/answer.rb
222
+ - questions/sequential_check/section_3/part_1/lib/sentence.org
223
+ - questions/sequential_check/section_3/part_1/lib/workplace.rb
224
+ - questions/sequential_check/section_3/part_1/spec/spec_helper.rb
225
+ - questions/sequential_check/section_3/part_1/spec/workplace_spec.rb
226
+ - questions/sequential_check/section_4/part_1/lib/answer.rb
227
+ - questions/sequential_check/section_4/part_1/lib/sentence.org
228
+ - questions/sequential_check/section_4/part_1/lib/workplace.rb
229
+ - questions/sequential_check/section_4/part_1/spec/spec_helper.rb
230
+ - questions/sequential_check/section_4/part_1/spec/workplace_spec.rb
231
+ - questions/sequential_check/section_5/part_1/lib/answer.rb
232
+ - questions/sequential_check/section_5/part_1/lib/sentence.org
233
+ - questions/sequential_check/section_5/part_1/lib/workplace.rb
234
+ - questions/sequential_check/section_5/part_1/spec/spec_helper.rb
235
+ - questions/sequential_check/section_5/part_1/spec/workplace_spec.rb
236
+ - questions/sequential_check/section_5/part_2/lib/answer.rb
237
+ - questions/sequential_check/section_5/part_2/lib/sentence.org
238
+ - questions/sequential_check/section_5/part_2/lib/workplace.rb
239
+ - questions/sequential_check/section_5/part_2/spec/spec_helper.rb
240
+ - questions/sequential_check/section_5/part_2/spec/workplace_spec.rb
241
+ - questions/sequential_check/section_6/part_1/lib/answer.rb
242
+ - questions/sequential_check/section_6/part_1/lib/sentence.org
243
+ - questions/sequential_check/section_6/part_1/lib/workplace.rb
244
+ - questions/sequential_check/section_6/part_1/spec/spec_helper.rb
245
+ - questions/sequential_check/section_6/part_1/spec/workplace_spec.rb
246
+ - questions/sequential_check/section_6/part_2/lib/answer.rb
247
+ - questions/sequential_check/section_6/part_2/lib/sentence.org
248
+ - questions/sequential_check/section_6/part_2/lib/workplace.rb
249
+ - questions/sequential_check/section_6/part_2/spec/spec_helper.rb
250
+ - questions/sequential_check/section_6/part_2/spec/workplace_spec.rb
251
+ - questions/sequential_check/section_6/part_3/lib/answer.rb
252
+ - questions/sequential_check/section_6/part_3/lib/sentence.org
253
+ - questions/sequential_check/section_6/part_3/lib/workplace.rb
254
+ - questions/sequential_check/section_6/part_3/spec/spec_helper.rb
255
+ - questions/sequential_check/section_6/part_3/spec/workplace_spec.rb
256
+ - questions/sequential_check/section_6/part_4/lib/answer.rb
257
+ - questions/sequential_check/section_6/part_4/lib/sentence.org
258
+ - questions/sequential_check/section_6/part_4/lib/workplace.rb
259
+ - questions/sequential_check/section_6/part_4/spec/spec_helper.rb
260
+ - questions/sequential_check/section_6/part_4/spec/workplace_spec.rb
261
+ - questions/sequential_check/section_7/part_1/lib/answer.rb
262
+ - questions/sequential_check/section_7/part_1/lib/sentence.org
263
+ - questions/sequential_check/section_7/part_1/lib/workplace.rb
264
+ - questions/sequential_check/section_7/part_1/spec/spec_helper.rb
265
+ - questions/sequential_check/section_7/part_1/spec/workplace_spec.rb
266
+ - questions/sequential_check/section_7/part_2/lib/answer.rb
267
+ - questions/sequential_check/section_7/part_2/lib/sentence.org
268
+ - questions/sequential_check/section_7/part_2/lib/workplace.rb
269
+ - questions/sequential_check/section_7/part_2/spec/spec_helper.rb
270
+ - questions/sequential_check/section_7/part_2/spec/workplace_spec.rb
271
+ - questions/sequential_check/section_8/part_1/lib/answer.rb
272
+ - questions/sequential_check/section_8/part_1/lib/sentence.org
273
+ - questions/sequential_check/section_8/part_1/lib/workplace.rb
274
+ - questions/sequential_check/section_8/part_1/spec/spec_helper.rb
275
+ - questions/sequential_check/section_8/part_1/spec/workplace_spec.rb
276
+ - questions/sequential_check/section_9/part_1/lib/answer.rb
277
+ - questions/sequential_check/section_9/part_1/lib/sentence.org
278
+ - questions/sequential_check/section_9/part_1/lib/workplace.rb
279
+ - questions/sequential_check/section_9/part_1/spec/spec_helper.rb
280
+ - questions/sequential_check/section_9/part_1/spec/workplace_spec.rb
281
+ - questions/sequential_check/section_9/part_2/lib/answer.rb
282
+ - questions/sequential_check/section_9/part_2/lib/sentence.org
283
+ - questions/sequential_check/section_9/part_2/lib/workplace.rb
284
+ - questions/sequential_check/section_9/part_2/spec/spec_helper.rb
285
+ - questions/sequential_check/section_9/part_2/spec/workplace_spec.rb
286
+ - questions/sequential_check/section_9/part_3/lib/answer.rb
287
+ - questions/sequential_check/section_9/part_3/lib/sentence.org
288
+ - questions/sequential_check/section_9/part_3/lib/workplace.rb
289
+ - questions/sequential_check/section_9/part_3/spec/spec_helper.rb
290
+ - questions/sequential_check/section_9/part_3/spec/workplace_spec.rb
187
291
  - ruby_learner.gemspec
188
292
  - takahashi/docs/README.org
293
+ - takahashi/docs/README.org~
189
294
  - takahashi/docs/drill.html
190
295
  - takahashi/docs/drill.html~
191
296
  - takahashi/docs/drill.org
192
297
  - takahashi/docs/ruby_for_beginner.html
193
298
  - takahashi/docs/ruby_for_beginner.org
194
299
  - takahashi/sample_prog/answer/10_1.rb
300
+ - takahashi/sample_prog/answer/10_2.rb
195
301
  - takahashi/sample_prog/answer/11_1.rb
196
302
  - takahashi/sample_prog/answer/11_2.rb
197
303
  - takahashi/sample_prog/answer/1_1.rb
@@ -209,11 +315,36 @@ files:
209
315
  - takahashi/sample_prog/answer/6_4.rb
210
316
  - takahashi/sample_prog/answer/7_1.rb
211
317
  - takahashi/sample_prog/answer/7_2.rb
318
+ - takahashi/sample_prog/answer/8_1.rb
212
319
  - takahashi/sample_prog/answer/9_1.rb
213
320
  - takahashi/sample_prog/answer/9_2.rb
214
321
  - takahashi/sample_prog/answer/9_3.rb
215
322
  - takahashi/sample_prog/answer/hello.rb
323
+ - takahashi/sample_prog/question/10_1.rb
324
+ - takahashi/sample_prog/question/10_2.rb
325
+ - takahashi/sample_prog/question/11_1.rb
326
+ - takahashi/sample_prog/question/11_2.rb
327
+ - takahashi/sample_prog/question/1_1.rb
328
+ - takahashi/sample_prog/question/1_2.rb
329
+ - takahashi/sample_prog/question/1_3.rb
330
+ - takahashi/sample_prog/question/2_1.rb
331
+ - takahashi/sample_prog/question/2_2.rb
332
+ - takahashi/sample_prog/question/3_1.rb
333
+ - takahashi/sample_prog/question/4_1.rb
334
+ - takahashi/sample_prog/question/5_1.rb
335
+ - takahashi/sample_prog/question/5_2.rb
336
+ - takahashi/sample_prog/question/6_1.rb
337
+ - takahashi/sample_prog/question/6_2.rb
338
+ - takahashi/sample_prog/question/6_3.rb
339
+ - takahashi/sample_prog/question/6_4.rb
340
+ - takahashi/sample_prog/question/7_1.rb
341
+ - takahashi/sample_prog/question/7_2.rb
342
+ - takahashi/sample_prog/question/8_1.rb
343
+ - takahashi/sample_prog/question/9_1.rb
344
+ - takahashi/sample_prog/question/9_2.rb
345
+ - takahashi/sample_prog/question/9_3.rb
216
346
  - workshop/.rspec
347
+ - workshop/emacs.d/#init#
217
348
  - workshop/emacs.d/ac-comphist.dat
218
349
  - workshop/emacs.d/cp5022x.el
219
350
  - workshop/emacs.d/elpa/archives/gnu/archive-contents
@@ -308,14 +439,14 @@ files:
308
439
  - workshop/emacs.d/themes/my-misterioso-theme.el
309
440
  - workshop/emacs.d/themes/my-wombat-theme.el
310
441
  - workshop/emacs.d/wiki-mode/wiki.el
311
- - workshop/emacs_help.org
312
442
  - workshop/lib/answer.rb
443
+ - workshop/lib/for-def-read.rb
444
+ - workshop/lib/for-read.txt
313
445
  - workshop/lib/sentence.org
314
446
  - workshop/lib/workplace.rb
315
447
  - workshop/restore/empty.rb
316
448
  - workshop/spec/spec_helper.rb
317
449
  - workshop/spec/workplace_spec.rb
318
- - workshop/training_data.txt
319
450
  homepage: ''
320
451
  licenses:
321
452
  - MIT
@@ -1,14 +0,0 @@
1
- # to open q.rb
2
- # c-x 2: split window vertically
3
- # c-x c-f: find file and input q.rb
4
- # open a.rb as above
5
- # c-x 3: split window horizontally
6
- # c-x c-f: find file and input a.rb
7
- # move the other window
8
- # c-x o: other windw
9
- # then edit a.rb as q.rb
10
-
11
- # c-a: move ahead
12
- # c-d: delete character
13
- # c-x c-s: save file
14
- # c-x c-c: quit edit
@@ -1,16 +0,0 @@
1
- # to open question.rb
2
- # c-x 2: split window vertically
3
- # c-x c-f: find file and input question.rb
4
- # open a.rb as above
5
- # c-x 3: split window horizontally
6
- # c-x c-f: find file and input answer.rb
7
- # move the other window
8
- # c-x o: other windw
9
- # then edit answer.rb as question.rb
10
-
11
- # c-a: move ahead
12
- # c-d: delete character
13
- # c-x c-s: save file
14
- # c-x c-c: quit edit
15
- # c-k: kill the line
16
- # c-y: paste of killed line
@@ -1,15 +0,0 @@
1
- #to open q.rb
2
- # c-x 2: find file and input q.rb
3
- # c-x c-f: find file and input q.rb
4
- # open 1~3.rb as above
5
- # c-x 3: split find file and input 1~3.rb
6
- # move the other window
7
- # c-x o: other window
8
- # then edit 1~3.rb q.rb
9
-
10
- # c-a:move ahead
11
- # c-d: delete character
12
- # c-x c-s: save file
13
- # c-x c-c: quit edit
14
- # c-k: kill the line
15
- # c-y: paste of killed line