467件ヒット
[401-467件を表示]
(0.098秒)
ライブラリ
- ビルトイン (148)
-
cgi
/ html (22) -
irb
/ cmd / help (11) -
net
/ imap (22) -
rubygems
/ specification (11) - stringio (110)
- strscan (143)
クラス
-
Gem
:: Specification (11) -
IRB
:: ExtendCommand :: Help (11) - MatchData (11)
-
Net
:: IMAP :: ContentDisposition (22) - String (129)
- StringIO (110)
- StringScanner (143)
- Symbol (8)
モジュール
-
CGI
:: HtmlExtension (22)
キーワード
- << (11)
- charpos (11)
- check (11)
-
check
_ until (11) - clear (11)
-
dsp
_ type (11) - eof (11)
- eof? (11)
- execute (11)
- form (22)
- index (11)
- insert (11)
- match (22)
- match? (16)
- param (11)
- pointer (11)
- pointer= (11)
- pos= (22)
-
post
_ match (22) - reset (11)
- rewind (11)
- rindex (11)
-
scan
_ until (11) - seek (11)
-
skip
_ until (11) - slice! (66)
- string= (11)
- tell (11)
- terminate (11)
- ungetc (11)
検索結果
先頭5件
- StringIO
# rewind -> 0 - StringIO
# seek(offset , whence = IO :: SEEK _ SET) -> 0 - StringScanner
# skip _ until(regexp) -> Integer | nil - CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") -> String - CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") { . . . } -> String
-
StringIO
# rewind -> 0 (3017.0) -
自身の pos と lineno をそれぞれ 0 にします。
...自身の pos と lineno をそれぞれ 0 にします。... -
StringIO
# seek(offset , whence = IO :: SEEK _ SET) -> 0 (3017.0) -
自身の pos を whence の位置から offset バイトだけ移動させます。
...自身の pos を whence の位置から offset バイトだけ移動させます。
@param offset 移動させたいバイト数を整数で指定します。
@param whence 以下のいずれかの定数を指定します。
* IO::SEEK_SET: ファイルの先頭から (デフォルト)
* IO:... -
StringScanner
# skip _ until(regexp) -> Integer | nil (3013.0) -
regexp が一致するまで文字列をスキャンします。 マッチに成功したらスキャンポインタを進めて、 スキャン開始位置からマッチ部分の末尾までの部分文字列の長さを返します。 マッチに失敗したら nil を返します。
...nil を返します。
@param regexp マッチに使用する正規表現を指定します。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
s.scan_until(/str/) # => 8
s.matched # => "str"
s.pos # => 8
s.pre_match # => "test "
//}... -
CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") -> String (243.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
..." か "post" を指定します。
@param action action 属性の値を指定します。デフォルトは現在の CGI スクリプト名です。
@param enctype enctype 属性の値を指定します。デフォルトは "application/x-www-form-urlencoded" です。
例:
form{ "string" }......="post" ENCTYPE="application/x-www-form-urlencoded">string</FORM>
form("get"){ "string" }
# <FORM METHOD="get" ENCTYPE="application/x-www-form-urlencoded">string</FORM>
form("get", "url"){ "string" }
# <FORM METHOD="get" ACTION="url" ENCTYPE="application/x-www-form-urlencoded">string</... -
CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") { . . . } -> String (243.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
..." か "post" を指定します。
@param action action 属性の値を指定します。デフォルトは現在の CGI スクリプト名です。
@param enctype enctype 属性の値を指定します。デフォルトは "application/x-www-form-urlencoded" です。
例:
form{ "string" }......="post" ENCTYPE="application/x-www-form-urlencoded">string</FORM>
form("get"){ "string" }
# <FORM METHOD="get" ENCTYPE="application/x-www-form-urlencoded">string</FORM>
form("get", "url"){ "string" }
# <FORM METHOD="get" ACTION="url" ENCTYPE="application/x-www-form-urlencoded">string</... -
Symbol
# match?(regexp , pos = 0) -> bool (124.0) -
regexp.match?(self, pos) と同じです。 regexp が文字列の場合は、正規表現にコンパイルします。 詳しくは Regexp#match? を参照してください。
...regexp.match?(self, pos) と同じです。
regexp が文字列の場合は、正規表現にコンパイルします。
詳しくは Regexp#match? を参照してください。
例:
:Ruby.match?(/R.../) # => true
:Ruby.match?('Ruby') # => true
:Ruby.match?('Ruby',1) # => false
:R......uby.match?('uby',1) # => true
:Ruby.match?(/P.../) # => false
$& # => nil
@see Regexp#match?, String#match?... -
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (25.0) -
RI から Ruby のドキュメントを参照します。
...RI から Ruby のドキュメントを参照します。
irb(main):001:0> help String#match
...
@param names 参照したいクラス名やメソッド名などを文字列で指定します。
names を指定しなかった場合は、RI を対話的なモードで起動します。メソ......an use tab to autocomplete.
Enter a blank line to exit.
>> String#match
String#match
(from ruby core)
------------------------------------------------------------------------------
str.match(pattern) -> matchdata or nil
str.match(pattern, pos) -> matchdata or nil
......