別のキーワード
種類
- 文書 (29)
- インスタンスメソッド (12)
- ライブラリ (12)
ライブラリ
-
rdoc
/ markup (12)
クラス
-
RDoc
:: Markup (12)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (5) -
add
_ special (12) -
ruby 1
. 8 . 4 feature (12) - 正規表現 (12)
検索結果
-
rdoc (38380.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という
ドキュメント生成のためのコマンドも含んでいます。
このパッケージは RDoc と Markup というふたつのコンポーネントを含
んでいます。 RDoc とは Ruby......ットに変換するた
めのライブラリです。RDoc によってメソッドやクラスに関するドキュメントを
生成するとき、コメント部を変換するために使われます。
=== ロードマップ
* RDoc で Ruby のソースファイルに対するドキュメ......ding に指定します。rdoc が読
み込んだ全てのファイルはこの文字エンコーディングに変換されま
す。--charset オプションもありますが --encoding オプションを使用して
ください。
: --exclude pattern
pattern にマッチするディ... -
RDoc
:: Markup # add _ special(pattern , name) -> () (3135.0) -
pattern で指定した正規表現にマッチする文字列をフォーマットの対象にしま す。
...
pattern で指定した正規表現にマッチする文字列をフォーマットの対象にしま
す。
例えば WikiWord のような、SM::SimpleMarkup#add_word_pair、
SM::SimpleMarkup#add_html でフォーマットできないものに対して使用
します。
@param pattern 正規......::ToHtml などのフォーマッタに識別させる時の名前を
Symbol で指定します。
例:
require 'rdoc/markup/simple_markup'
require 'rdoc/markup/simple_markup/to_html'
class WikiHtml < SM::ToHtml
def handle_special_WIKIWORD(special)
"<font color=red>" +... -
NEWS for Ruby 3
. 0 . 0 (60.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ding arguments.
16378
//emlist{
def method_missing(meth, ...)
send(:"do_#{meth}", ...)
end
//}
* Pattern matching (`case/in`) is no longer experimental. 17260
* One-line pattern matching is redesigned. [EXPERIMENTAL]
* `=>` is added. It can be used like a rightward assignmen......a
p a #=> 0
{b: 0, c: 1} => {b:}
p b #=> 0
//}
//emlist{
# version 3.0
0 in 1 #=> false
# version 2.7
0 in 1 #=> raise NoMatchingPatternError
//}
* Find-pattern is added. [EXPERIMENTAL]
16828
//emlist{
case ["a", 1, "b", "c", 2, "d", "e", "f", 3]
in [*pre, String => x, String => y, *pos......rdoc-ref:doc/syntax/comments.rdoc@Magic+Comments] for more details.
17273
* A {static analysis}[rdoc-label:label-Static+analysis] foundation is
introduced.
* {RBS}[rdoc-label:label-RBS] is introduced. It is a type definition
language for Ruby programs.
* {TypeProf}[rdoc... -
ruby 1
. 8 . 4 feature (24.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...* ((<ruby 1.8.4 feature/Readline [bug]>))
* ((<ruby 1.8.4 feature/Syck [bug]>))
* ((<ruby 1.8.4 feature/irb [bug]>))
* ((<ruby 1.8.4 feature/RDoc [bug]>))
* ((<ruby 1.8.4 feature/Win32API [bug]>))
* ((<ruby 1.8.4 feature/Rinda [bug]>))
* ((<ruby 1.8.4 feature/Iconv [compat]>))
* ((<ru......from -:7
: 正規表現 [bug]
#Wed Oct 19 01:27:07 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
#
# * regex.c (re_compile_pattern): numeric literal inside character class
# disabled succeeding backtrack. fixed: [ruby-list:41328]
文字コードの形で正規......by-lang.org>
#
# * file.c (rb_file_s_dirname): added checks for some patterns with drive
# letter. fixed: [ruby-dev:27738]
#
# * test/ruby/test_path.rb (test_dirname): added tests for above
# patterns.
ドライブレターを含むパスに対するFile.dirnameの... -
正規表現 (24.0)
-
正規表現 * metachar * expansion * char * anychar * string * str * quantifier * capture * grouping * subexp * selector * anchor * cond * option * encoding * comment * free_format_mode * absenceop * list * specialvar * references
...続けて書くことができます。
//emlist[][ruby]{
# The pattern below matches a vowel followed by 2 word characters:
# 'aen'
/[aeiou]\w{2}/.match("Caenorhabditis elegans") #=> #<MatchData "aen">
# Whereas the following pattern matches a vowel followed by a word
# character, twice, i.e. <tt>......、オライリー・ジャパン(2008) https://www.oreilly.co.jp/books/9784873113593/
* Onigmoのドキュメント:https://github.com/k-takata/Onigmo/blob/master/doc/RE.ja
* Ruby の tarball に含まれている doc/regexp.rdoc:https://github.com/ruby/ruby/blob/master/doc/regexp.rdoc...