Permalink
Browse files

Update rcodetools from 0.7.0 to 0.8.7

  • Loading branch information...
1 parent a9affff commit 5eff72fc85e8341dc21aeb5ebe10043daaf8273e @infininight infininight committed Aug 21, 2011
Showing with 4,351 additions and 485 deletions.
  1. +24 −0 Support/vendor/rcodetools/CHANGES
  2. +1 −1 Support/vendor/rcodetools/README
  3. +158 −0 Support/vendor/rcodetools/README.TDC
  4. +25 −4 Support/vendor/rcodetools/README.emacs
  5. +84 −0 Support/vendor/rcodetools/README.ja
  6. +159 −74 Support/vendor/rcodetools/README.xmpfilter
  7. +31 −53 Support/vendor/rcodetools/Rakefile
  8. +151 −0 Support/vendor/rcodetools/anything-rcodetools.el
  9. +266 −0 Support/vendor/rcodetools/bin/rbtest
  10. +7 −2 Support/vendor/rcodetools/bin/rct-complete
  11. +4 −2 Support/vendor/rcodetools/bin/rct-doc
  12. +6 −0 Support/vendor/rcodetools/bin/rct-fork
  13. +5 −0 Support/vendor/rcodetools/bin/rct-fork-client
  14. +33 −2 Support/vendor/rcodetools/bin/rct-meth-args
  15. +26 −0 Support/vendor/rcodetools/bin/ruby-toggle-file
  16. +11 −1 Support/vendor/rcodetools/bin/xmpfilter
  17. +14 −0 Support/vendor/rcodetools/lib/rcodetools/compat.rb
  18. +69 −24 Support/vendor/rcodetools/lib/rcodetools/completion.rb
  19. +3 −0 Support/vendor/rcodetools/lib/rcodetools/doc.rb
  20. +210 −0 Support/vendor/rcodetools/lib/rcodetools/fork.rb
  21. +26 −0 Support/vendor/rcodetools/lib/rcodetools/fork_config.rb
  22. +43 −2 Support/vendor/rcodetools/lib/rcodetools/options.rb
  23. +220 −50 Support/vendor/rcodetools/lib/rcodetools/xmpfilter.rb
  24. +174 −57 Support/vendor/rcodetools/lib/rcodetools/xmptestunitfilter.rb
  25. +99 −0 Support/vendor/rcodetools/lib/ruby_toggle_file.rb
  26. +8 −0 Support/vendor/rcodetools/license.txt
  27. +235 −22 Support/vendor/rcodetools/rcodetools.el
  28. BIN Support/vendor/rcodetools/rcodetools.elc
  29. BIN Support/vendor/rcodetools/rcodetools.gif
  30. BIN Support/vendor/rcodetools/rcodetools.sxmp
  31. +7 −3 Support/vendor/rcodetools/test/{ → attic}/test_run.rb
  32. 0 Support/vendor/rcodetools/test/data/{ → attic}/add_markers-input.rb
  33. 0 Support/vendor/rcodetools/test/data/{ → attic}/add_markers-output.rb
  34. 0 Support/vendor/rcodetools/test/data/{ → attic}/bindings-input.rb
  35. 0 Support/vendor/rcodetools/test/data/{ → attic}/bindings-output.rb
  36. 0 Support/vendor/rcodetools/test/data/{ → attic}/completion-input.rb
  37. 0 Support/vendor/rcodetools/test/data/{ → attic}/completion-output.rb
  38. +1 −0 Support/vendor/rcodetools/test/data/attic/completion_class_info-input.rb
  39. +10 −0 Support/vendor/rcodetools/test/data/attic/completion_class_info-output.rb
  40. +1 −0 Support/vendor/rcodetools/test/data/attic/completion_class_info_no_candidates-input.rb
  41. +1 −0 Support/vendor/rcodetools/test/data/attic/completion_class_info_no_candidates-output.rb
  42. +7 −0 Support/vendor/rcodetools/test/data/attic/completion_detect_rbtest-input.rb
  43. +2 −0 Support/vendor/rcodetools/test/data/attic/completion_detect_rbtest-output.rb
  44. 0 ...endor/rcodetools/test/data/{completion_emacs-input.rb → attic/completion_detect_rbtest2-input.rb}
  45. +2 −0 Support/vendor/rcodetools/test/data/attic/completion_detect_rbtest2-output.rb
  46. +1 −0 Support/vendor/rcodetools/test/data/attic/completion_emacs-input.rb
  47. 0 Support/vendor/rcodetools/test/data/{ → attic}/completion_emacs-output.rb
  48. 0 Support/vendor/rcodetools/test/data/{ → attic}/completion_emacs_icicles-input.rb
  49. 0 Support/vendor/rcodetools/test/data/{ → attic}/completion_emacs_icicles-output.rb
  50. +3 −0 Support/vendor/rcodetools/test/data/attic/completion_in_method-input.rb
  51. +1 −0 Support/vendor/rcodetools/test/data/attic/completion_in_method-output.rb
  52. +6 −0 Support/vendor/rcodetools/test/data/attic/completion_in_method-test.rb
  53. +7 −0 Support/vendor/rcodetools/test/data/attic/completion_rbtest-input.rb
  54. +2 −0 Support/vendor/rcodetools/test/data/attic/completion_rbtest-output.rb
  55. 0 Support/vendor/rcodetools/test/data/{ → attic}/doc-input.rb
  56. 0 Support/vendor/rcodetools/test/data/{ → attic}/doc-output.rb
  57. 0 Support/vendor/rcodetools/test/data/{refe-input.rb → attic/doc_detect_rbtest-input.rb}
  58. +1 −0 Support/vendor/rcodetools/test/data/attic/doc_detect_rbtest-output.rb
  59. +7 −0 Support/vendor/rcodetools/test/data/attic/doc_detect_rbtest2-input.rb
  60. +1 −0 Support/vendor/rcodetools/test/data/attic/doc_detect_rbtest2-output.rb
  61. +7 −0 Support/vendor/rcodetools/test/data/attic/doc_rbtest-input.rb
  62. +1 −0 Support/vendor/rcodetools/test/data/attic/doc_rbtest-output.rb
  63. 0 Support/vendor/rcodetools/test/data/{ → attic}/no_warnings-input.rb
  64. 0 Support/vendor/rcodetools/test/data/{ → attic}/no_warnings-output.rb
  65. 0 Support/vendor/rcodetools/test/data/{ri-input.rb → attic/refe-input.rb}
  66. 0 Support/vendor/rcodetools/test/data/{ → attic}/refe-output.rb
  67. 0 Support/vendor/rcodetools/test/data/{ri_emacs-input.rb → attic/ri-input.rb}
  68. 0 Support/vendor/rcodetools/test/data/{ → attic}/ri-output.rb
  69. 0 Support/vendor/rcodetools/test/data/{ri_vim-input.rb → attic/ri_emacs-input.rb}
  70. 0 Support/vendor/rcodetools/test/data/{ → attic}/ri_emacs-output.rb
  71. +1 −0 Support/vendor/rcodetools/test/data/attic/ri_vim-input.rb
  72. 0 Support/vendor/rcodetools/test/data/{ → attic}/ri_vim-output.rb
  73. +9 −9 Support/vendor/rcodetools/test/data/{ → attic}/rspec-input.rb
  74. +52 −0 Support/vendor/rcodetools/test/data/attic/rspec-output.rb
  75. +9 −9 Support/vendor/rcodetools/test/data/{ → attic}/rspec_poetry-input.rb
  76. +52 −0 Support/vendor/rcodetools/test/data/attic/rspec_poetry-output.rb
  77. 0 Support/vendor/rcodetools/test/data/{ → attic}/simple_annotation-input.rb
  78. 0 Support/vendor/rcodetools/test/data/{ → attic}/simple_annotation-output.rb
  79. 0 Support/vendor/rcodetools/test/data/{ → attic}/unit_test-input.rb
  80. 0 Support/vendor/rcodetools/test/data/{ → attic}/unit_test-output.rb
  81. 0 .../vendor/rcodetools/test/data/{unit_test_poetry-input.rb → attic/unit_test_detect_rbtest-input.rb}
  82. +52 −0 Support/vendor/rcodetools/test/data/attic/unit_test_detect_rbtest-output.rb
  83. +6 −0 Support/vendor/rcodetools/test/data/attic/unit_test_detect_rbtest2-input.rb
  84. +6 −0 Support/vendor/rcodetools/test/data/attic/unit_test_detect_rbtest2-output.rb
  85. +50 −0 Support/vendor/rcodetools/test/data/attic/unit_test_poetry-input.rb
  86. 0 Support/vendor/rcodetools/test/data/{ → attic}/unit_test_poetry-output.rb
  87. +6 −0 Support/vendor/rcodetools/test/data/attic/unit_test_rbtest-input.rb
  88. +6 −0 Support/vendor/rcodetools/test/data/attic/unit_test_rbtest-output.rb
  89. +17 −0 Support/vendor/rcodetools/test/data/rct-complete-TDC/completion_in_method__testmethod.taf
  90. +17 −0 Support/vendor/rcodetools/test/data/rct-complete-TDC/completion_in_method__testscript.taf
  91. +17 −0 Support/vendor/rcodetools/test/data/rct-complete-TDC/completion_in_method__wrong_testmethod.taf
  92. +9 −0 Support/vendor/rcodetools/test/data/rct-complete/completion.taf
  93. +9 −0 Support/vendor/rcodetools/test/data/rct-complete/completion_class_info.taf
  94. +8 −0 Support/vendor/rcodetools/test/data/rct-complete/completion_class_info_no_candidates.taf
  95. +15 −0 Support/vendor/rcodetools/test/data/rct-complete/completion_detect_rbtest.taf
  96. +9 −0 Support/vendor/rcodetools/test/data/rct-complete/completion_detect_rbtest2.taf
  97. +13 −0 Support/vendor/rcodetools/test/data/rct-complete/completion_emacs.taf
  98. +13 −0 Support/vendor/rcodetools/test/data/rct-complete/completion_emacs_icicles.taf
  99. +15 −0 Support/vendor/rcodetools/test/data/rct-complete/completion_rbtest.taf
  100. +8 −0 Support/vendor/rcodetools/test/data/rct-doc/doc.taf
  101. +8 −0 Support/vendor/rcodetools/test/data/rct-doc/doc_detect_rbtest.taf
  102. +14 −0 Support/vendor/rcodetools/test/data/rct-doc/doc_detect_rbtest2.taf
  103. +14 −0 Support/vendor/rcodetools/test/data/rct-doc/doc_rbtest.taf
  104. +8 −0 Support/vendor/rcodetools/test/data/rct-doc/refe.taf
  105. +8 −0 Support/vendor/rcodetools/test/data/rct-doc/ri.taf
  106. +8 −0 Support/vendor/rcodetools/test/data/rct-doc/ri_emacs.taf
  107. +8 −0 Support/vendor/rcodetools/test/data/rct-doc/ri_vim.taf
  108. +0 −52 Support/vendor/rcodetools/test/data/rspec-output.rb
  109. +0 −52 Support/vendor/rcodetools/test/data/rspec_poetry-output.rb
  110. +9 −0 Support/vendor/rcodetools/test/data/sample_test_script.rb
  111. +10 −0 Support/vendor/rcodetools/test/data/xmpfilter/add_markers.taf
  112. +63 −0 Support/vendor/rcodetools/test/data/xmpfilter/bindings.taf
  113. +22 −0 Support/vendor/rcodetools/test/data/xmpfilter/comment_out.taf
  114. +14 −0 Support/vendor/rcodetools/test/data/xmpfilter/exception.taf
  115. +54 −0 Support/vendor/rcodetools/test/data/xmpfilter/expectations.taf
  116. +18 −0 Support/vendor/rcodetools/test/data/xmpfilter/last_match.taf
  117. +9 −0 Support/vendor/rcodetools/test/data/xmpfilter/mult.rb
  118. +22 −0 Support/vendor/rcodetools/test/data/xmpfilter/multi_line_annotation_1.taf
  119. +24 −0 Support/vendor/rcodetools/test/data/xmpfilter/multi_line_annotation_2.taf
  120. +20 −0 Support/vendor/rcodetools/test/data/xmpfilter/multi_line_annotation_3.taf
  121. +22 −0 Support/vendor/rcodetools/test/data/xmpfilter/multi_line_annotation_4.taf
  122. +34 −0 Support/vendor/rcodetools/test/data/xmpfilter/multi_line_annotation_5.taf
  123. +12 −0 Support/vendor/rcodetools/test/data/xmpfilter/multi_line_annotation_6.taf
  124. +23 −0 Support/vendor/rcodetools/test/data/xmpfilter/multi_line_annotation_7.taf
  125. +13 −0 Support/vendor/rcodetools/test/data/xmpfilter/no_warnings.taf
  126. +16 −0 Support/vendor/rcodetools/test/data/xmpfilter/nospace.taf
  127. +106 −0 Support/vendor/rcodetools/test/data/xmpfilter/rspec.taf
  128. +106 −0 Support/vendor/rcodetools/test/data/xmpfilter/rspec_poetry.taf
  129. +22 −0 Support/vendor/rcodetools/test/data/xmpfilter/simple_annotation.taf
  130. +108 −0 Support/vendor/rcodetools/test/data/xmpfilter/unit_test.taf
  131. +108 −0 Support/vendor/rcodetools/test/data/xmpfilter/unit_test_detect_rbtest.taf
  132. +18 −0 Support/vendor/rcodetools/test/data/xmpfilter/unit_test_detect_rbtest2.taf
  133. +108 −0 Support/vendor/rcodetools/test/data/xmpfilter/unit_test_poetry.taf
  134. +18 −0 Support/vendor/rcodetools/test/data/xmpfilter/unit_test_rbtest.taf
  135. +16 −0 Support/vendor/rcodetools/test/data/xmpfilter/width.taf
  136. +37 −3 Support/vendor/rcodetools/test/test_completion.rb
  137. +2 −0 Support/vendor/rcodetools/test/test_doc.rb
  138. +43 −14 Support/vendor/rcodetools/test/test_functional.rb
  139. +28 −20 Support/vendor/rcodetools/test/test_method_analyzer.rb
  140. +1 −0 Support/vendor/rcodetools/test/test_options.rb
  141. +174 −0 Support/vendor/rcodetools/test/test_ruby_toggle_file.rb
  142. +203 −18 Support/vendor/rcodetools/test/test_xmpfilter.rb
  143. +13 −11 Support/vendor/rcodetools/test/test_xmptestunitfilter.rb
  144. +162 −0 Support/vendor/rcodetools/test/tmp_functional.rb
  145. +66 −0 Support/vendor/rcodetools/test/tmp_run.rb
@@ -1,5 +1,29 @@
rcodetools history
==================
+User-visible changes since 0.8.5
+--------------------------------
+* Fix DATA and __END__ handling in xmpfilter --tempfile (windows)
+
+User-visible changes since 0.8.4
+--------------------------------
+* OOPS, added missing files.
+
+User-visible changes since 0.8.0
+--------------------------------
+* xmpfilter: fixed multi-line annotation bugs
+
+User-visible changes since 0.7.0
+--------------------------------
+* Support Ruby 1.9!
+* xmpfilter: multi-line annotation
+* xmpfilter --expectations generates expectations by Jay Fields
+* anything-rcodetools.el: new elisp
+* --tmpfile, --tempfile: use temporary file instead of open3 on un*x
+* rcodetools.el: smarter xmpfilter-command
+* rcodetools.el: rct-fork interface
+* rct-fork: require 'rubygems' initially
+* rct-fork: more stable
+
User-visible changes since 0.5.0
--------------------------------
* "test-driven completion" (TDC) support for Emacs and vim (see README.TDC)
@@ -1,7 +1,7 @@
rcodetools http://eigenclass.org/hiki.rb?rcodetools
Copyright (c) 2005-2007 Mauricio Fernandez <mfp@acm.org> http://eigenclass.org
- Copyright (c) 2006-2007 rubikitch <rubikitch@ruby-lang.org> http://www.rubyist.net/~rubikitch/
+ Copyright (c) 2006-2008 rubikitch <rubikitch@ruby-lang.org> http://www.rubyist.net/~rubikitch/
Use and distribution subject to the terms of the Ruby license.
= Overview
@@ -0,0 +1,158 @@
+
+= Overview
+
+Ruby is very dynamic language, therefore it is impossible to do
+accurate completion without executing script. While executing script
+from start to cursor point is often dangerous, executing unit test
+script covering current point is SAFE. I call this methodology
+`Test-Driven Completion' (TDC).
+
+As I have already stated in README, browsing documentation of method
+(rct-doc) is almost identical operation to completion. This
+discussion is applicable to rct-doc.
+
+= Why TDD Is Needed
+
+In the following code snippet:
+
+ File.unlink a_file
+ File. <-
+
+If you complete after `File.', rct-complete actually deletes a_file.
+Normally it is unpleasant.
+In real-life development, side-effect is inevitable.
+
+In the foo method which are not called:
+
+ def foo
+ 1. <-
+ end
+
+If the code does not call foo, rct-complete cannot do any completions.
+Before TDC, if you want to do completion in methods, you have to write
+method call and remove it after completion. Too useless!!
+
+= Messianic Unit Test Script
+
+Recently Test-Driven Development (TDD) is widespread. Many developers
+write unit tests. Fortunately Ruby's unit tester, Test::Unit, is
+sophisticated enough to test one test method. Unit tests are
+self-enclosed: they must tear down resources, so executing unit tests
+are SAFE. TDC uses unit test to do completion.
+
+= TDC Methodology
+
+(1) Switch to unit test script.
+(2) Write a test for target method.
+(3) Switch to implementation script.
+(4) You can write target method WITH COMPLETION!
+(5) Back to (1)
+
+TDC methodology is almost identical to TDD. TDC is very easy for TDDers.
+
+= TDC With Example
+
+For simplicity, suppose that you are unfamiliar with Time class and
+you want to write a method to format date string.
+
+The directory structure and file contents is following:
+
+ /tmp/mylib0/
+ /tmp/mylib0/lib/
+ mylib0.rb
+ /tmp/mylib0/test/
+ test_mylib0.rb
+
+ List: mylib0.rb
+ # contrived example of long-runtime method
+ def mysleep(x)
+ sleep x
+ end
+
+ def mytime(tm)
+
+ end
+
+
+ List: test_mylib0.rb
+ require 'test/unit'
+ require 'mylib0'
+ class TestMylib0 < Test::Unit::TestCase
+ def test_0_mysleep
+ s = Time.now
+ mysleep 3.0
+ e = Time.now
+ assert_in_delta 3.0, e-s, 0.01
+ end
+
+ def test_1_mytime
+
+ end
+ end
+
+These sample files are in demo/ directory.
+
+
+== Switch to unit test script.
+
+TDC starts with writing unit test as TDD does.
+Open test_mylib0.rb.
+
+== Write a test for target method.
+
+Suppose that you want to write mytime method and test_1_mytime test
+method, and that you want to experiment Time class first (before
+forming an assertion).
+
+In TDC, you do not have to write an assertion first: just write only a
+method call. If you are familiar with Time class, you are free to
+write an assertion, of course.
+
+ def test_1_mytime
+ mytime(Time.now)
+ end
+
+At this time, the cursor position is in test_1_mytime test method.
+
+== Switch to implementation script.
+
+Open mylib0.rb with the `ruby-toggle-file' script. For example, in Emacs use
+the `ruby-toggle-buffer' command, and in vim the <localleader>t (by default
+\t) binding. Since in TDD/TDC you often switch between the test and the
+implementation, it is much handier than typing the filename manually.
+
+The rct-complete uses latest-selected test script as TDC test script
+and test method at cursor position as TDC test method. In this case,
+test_mylib0.rb is TDC test script and test_1_mytime is TDC test
+method. If the cursor position of test_mylib0.rb is at the top,
+rct-complete executes whole test methods in test_mylib0.rb. Therefore
+latency of completion is longer.
+
+== You can write target method WITH COMPLETION!
+
+Fill mytime method.
+
+ def mytime(tm)
+ tm.
+ end
+
+Do completion after `tm.'. Here! Your editor is listing methods `tm'
+accepts!! If your editor has help-on-candidate mechanism (eg. Emacs +
+Icicles), you would see documentation of each listed method.
+
+Then you find `Time#strftime' method. Type `str' and do completion.
+
+ def mytime(tm)
+ tm.strftime
+ end
+
+Usage is... use `rct-doc' (in Emacs, `rct-ri') after `strftime'.
+
+After you are familiar with Time class, switch to test script and write assertions.
+
+= When Modifying Another Method
+
+If you want to modify already-written method, setting cursor position
+of corresponding test script to corresponding test method is better.
+It tells rct-complete new test script and test method, so you can do
+completion in the new method.
@@ -21,8 +21,19 @@ If you use icicles copy <tt>icicles-rcodetools.el</tt> too.
Then require it.
(require 'icicles-rcodetools)
It provides wonderful `help on candidate' feature, RI document on each candidate during completion.
-I'm addicted to icicles!
- http://www.emacswiki.org/cgi-bin/wiki/Icicles
+
+If you use anything.el copy <tt>anything-rcodetools.el</tt> too.
+Then require it.
+ (require 'anything-rcodetools)
+RI document on each candidate during completion.
+
+anything-show-completion.el shows selection (mehod) in buffer for completion.
+It is available in:
+ http://www.emacswiki.org/cgi-bin/wiki/download/anything-show-completion.el
+
+I think anything-rcodetools is more convenient than icicles-rcodetools.
+I'm addicted to anything!
+ http://www.emacswiki.org/cgi-bin/wiki/Anything
xmpfilter on buffer
===================
@@ -38,8 +49,9 @@ method/class/constant completion
# [EVAL IT] (describe-function 'rct-complete-symbol)
-If you use icicles-rcodetools, you can browse RI document for selected candidate
-by typing C-M-RET. It is wonderful icicles feature!!
+If you use icicles-rcodetools or anything-rcodetools, you can browse RI document
+for selected candidate by typing C-M-RET (icicles) or C-z (anything.
+It is wonderful icicles and anything feature!!
show RI document / jump to the definition
=========================================
@@ -52,3 +64,12 @@ If use do not use this feature, evaluate:
(setq rct-find-tag-if-available nil)
# [EVAL IT] (describe-variable 'rct-find-tag-if-available)
+
+speed-up xmpfilter and completion
+=================================
+
+# [EVAL IT] (describe-function 'rct-fork)
+# [EVAL IT] (describe-function 'rct-fork-kill)
+
+M-x rct-fork pre-loads heavy libraries (like rails).
+You need not every time wait for loading them anymore!
@@ -0,0 +1,84 @@
+
+ rcodetools http://eigenclass.org/hiki.rb?rcodetools
+ Copyright (c) 2005-2007 Mauricio Fernandez <mfp@acm.org> http://eigenclass.org
+ Copyright (c) 2006-2008 rubikitch <rubikitch@ruby-lang.org> http://www.rubyist.net/~rubikitch/
+Use and distribution subject to the terms of the Ruby license.
+
+= ����
+rcodetools �� Ruby �Υ����ɤ򰷤��ġ��뷲�Ǥ���
+rcodetools �ˤ� xmpfilter �ȥ��ǥ����˰�¸���ʤ���ȯ�ٱ�ġ��뤬�ޤޤ�Ƥ��ޤ���
+Emacs �� Vim �Υ��󥿡��ե��������Ѱդ��Ƥ��ޤ���
+
+* xmpfilter: Test::Unit assert* / RSpec should* ��ư�������������
+* rct-complete: ����٥᥽�å�̾�����饹̾�����̾���䴰
+* rct-doc: �ɥ�����Ȼ��ȡ������ɥʥӥ�������
+* rct-meth-args: ����٥᥽�åɾ���ꥹ�ȡ�TAGS �ե�������
+* rct-fork: Rails ��Ť��饤�֥���ͽ����ɤ����䴰���®������ʥ����С�
+* rct-fork-client: rct-fork �����Ф��ݻ����֤��� Ruby ������ץȤ�¹Ԥ���
+* ruby-toggle-file: �ƥ��ȥ�����ץȤȼ������ץȤ��ڤ괹����
+* rbtest: �����ϥ�����ץȤΤ���������� Test::Unit
+
+
+= �Ȥ���
+
+== ���������
+�����ͤ�ɽ���������Ԥ� # => ��ä��ޤ���
+
+ a, b = "foo", "baz"
+ a + b # =>
+ a.size # =>
+
+xmpfilter ���̤��Ȳ��Τ褦�˼����ͤ�ɽ�����Ƥ���ޤ���
+
+ a, b = "foo", "baz"
+ a + b # => "foobaz"
+ a.size # => 3
+
+
+== Test::Unit assert ʸ��
+
+���ǤˤǤ������äƤ���ץ����Υƥ��ȥ�����ץȤ�񤯤Τ����ݤǤ��͡�
+
+ def test_insertion
+ @o.insert "bar"
+ @o.insert "baz"
+ @o.size # =>
+ @o.last # =>
+ @o.first # =>
+ @o.complex_computation # =>
+ @o.last(2) # =>
+ end
+
+xmpfilter��-u ���ץ����ˤ���֤�ڸ����Ƥ���ޤ���
+
+ def test_insertion
+ @o.insert "bar"
+ @o.insert "baz"
+ assert_equal(2, @o.size)
+ assert_equal("baz", @o.last)
+ assert_equal("bar", @o.first)
+ assert_in_delta(3.14159265358979, @o.complex_computation, 0.0001)
+ assert_equal(["baz", "bar"], @o.last(2))
+ end
+
+RSpec �ˤĤ��Ƥ�Ʊ�ͤΤ��Ȥ��Ǥ��ޤ�����-s ���ץ�����
+
+== �䴰���ɥ�����Ȼ���
+
+ư��ˤ�륹���꡼�󥷥�åȤ򸫤Ƥ��������
+
+http://eigenclass.org/hiki.rb?rcodetools-screenshots
+
+== �ܤ����Ȥ���
+-h ���ץ�����Ĥ���Ȼ��Ѳ�ǽ�ʥ��ץ����ɽ������ޤ���
+
+ xmpfilter -h
+ rct-complete -h
+ rct-doc -h
+ rct-meth-args -h
+ rct-fork -h
+ rct-fork-client -h
+ ruby-toggle-file -h
+ rbtest -h
+
+README.emacs �� README.vim �˥��ǥ�����ǤλȤ���ܤ����񤤤Ƥ���ޤ���
Oops, something went wrong.

0 comments on commit 5eff72f

Please sign in to comment.