mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix document generator to remove trailing space in generated document.
Update generated document.
This commit is contained in:
@@ -806,12 +806,6 @@ ISO Code | Source File | C Function
|
||||
--- | --- | ---
|
||||
15.2.14.4.3 | src/range.c | mrb_range_beg
|
||||
|
||||
#### each
|
||||
|
||||
ISO Code | Source File | C Function
|
||||
--- | --- | ---
|
||||
15.2.14.4.4 | src/range.c | mrb_range_each
|
||||
|
||||
#### end
|
||||
|
||||
ISO Code | Source File | C Function
|
||||
@@ -1372,12 +1366,6 @@ ISO Code | Source File | C Function
|
||||
--- | --- | ---
|
||||
15.3.1.3.3 | src/kernel.c | mrb_obj_id_m
|
||||
|
||||
#### __method__
|
||||
|
||||
ISO Code | Source File | C Function
|
||||
--- | --- | ---
|
||||
n/a | src/kernel.c | mrb_f_method
|
||||
|
||||
#### __send__
|
||||
|
||||
ISO Code | Source File | C Function
|
||||
|
||||
@@ -96,8 +96,8 @@ CLASS
|
||||
|
||||
def print_method(io, met_name, met_hsh, cfg)
|
||||
if cfg[:print_line_no]
|
||||
line_no_head = '| Line'
|
||||
line_no = "| #{find_c_func(met_hsh[:c_func])[:line_no]}"
|
||||
line_no_head = ' | Line'
|
||||
line_no = " | #{find_c_func(met_hsh[:c_func])[:line_no]}"
|
||||
else
|
||||
line_no, line_no_head = '', ''
|
||||
end
|
||||
@@ -109,9 +109,9 @@ CLASS
|
||||
io.puts <<METHOD
|
||||
#### #{met_name}
|
||||
|
||||
ISO Code | Source File | C Function #{line_no_head}
|
||||
ISO Code | Source File | C Function#{line_no_head}
|
||||
--- | --- | ---
|
||||
#{iso} | #{file} | #{met_hsh[:c_func]} #{line_no}
|
||||
#{iso} | #{file} | #{met_hsh[:c_func]}#{line_no}
|
||||
|
||||
METHOD
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user