aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_refinement.rb
diff options
context:
space:
mode:
authorOKURA Masafumi <masafumi.o1988@gmail.com>2019-08-16 22:56:30 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-17 12:19:13 +0900
commit042be439d92ea0910fe3bd0d5e9a1d4135257d2d (patch)
tree85dca40985a6b888dcf7981e2d05674c8f8ba9b0 /test/ruby/test_refinement.rb
parent045152df9e91c34a2785cb95e5964d7fc1b14df5 (diff)
downloadruby-042be439d92ea0910fe3bd0d5e9a1d4135257d2d.tar.gz
Improve the doc example of `method_missing`
Improvements are: * Use `symbol` instead of `methId`, described in doc * Add `*args` following method signature * Rescue error in `roman_to_int` and calls `super`, recommended in doc * Call invalid `foo` method to Roman object to raise NoMethodError
Diffstat (limited to 'test/ruby/test_refinement.rb')
0 files changed, 0 insertions, 0 deletions