別のキーワード
ライブラリ
- English (77)
- ビルトイン (486)
- fileutils (44)
- json (11)
-
net
/ ftp (18) -
net
/ http (22) - optparse (11)
- pathname (11)
- psych (22)
- rake (44)
- resolv (88)
-
rexml
/ document (11) - shell (30)
-
shell
/ command-processor (30) -
shell
/ filter (36) - socket (44)
- tracer (11)
-
webrick
/ httprequest (11) -
webrick
/ httputils (22) - win32ole (22)
- zlib (33)
クラス
-
ARGF
. class (132) - Dir (11)
- Encoding (154)
- File (55)
- IO (5)
-
Net
:: FTP (18) -
Net
:: HTTP (22) - OptionParser (11)
- Pathname (11)
-
Rake
:: FileTask (22) -
Resolv
:: DNS (33) -
Resolv
:: DNS :: Resource :: TXT (33) - Shell (30)
-
Shell
:: CommandProcessor (30) -
Shell
:: Filter (36) - Socket (22)
- String (11)
- Tracer (11)
-
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPUtils :: FormData (22) -
WIN32OLE
_ VARIANT (11) -
Zlib
:: GzipReader (11) -
Zlib
:: GzipWriter (22)
モジュール
- FileTest (30)
- FileUtils (44)
- JSON (11)
- Kernel (143)
- Psych (22)
-
Rake
:: TaskManager (11) -
Socket
:: Constants (22)
キーワード
-
$ ARGV (11) -
$ CHILD _ STATUS (11) -
$ DEFAULT _ OUTPUT (11) -
$ INPUT _ LINE _ NUMBER (11) -
$ LAST _ MATCH _ INFO (11) -
$ LAST _ READ _ LINE (11) -
$ NR (11) -
$ _ (11) - < (6)
-
BIG5
_ UAO (11) -
Big5
_ UAO (11) - ETXTBSY (11)
- Entity (11)
- IO (11)
- Lazy (11)
- MACCROATIAN (11)
- MACGREEK (11)
- MACJAPAN (11)
- MACJAPANESE (11)
- MACROMANIA (11)
- MACTURKISH (11)
- MacCroatian (11)
- MacGreek (11)
- MacJapan (11)
- MacJapanese (11)
- MacRomania (11)
- MacTurkish (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
SO
_ ATTACH _ FILTER (22) -
SO
_ DETACH _ FILTER (22) -
WIN32OLE
_ VARIANT (11) - argv (11)
- bigdecimal (11)
- cat (18)
- chown (11)
-
create
_ rule (11) - data (11)
- delete (11)
- dump (11)
-
each
_ char (22) -
each
_ codepoint (22) -
each
_ resource (11) - echo (18)
- empty? (8)
-
executable
_ real? (11) - extname (11)
- filename (11)
- filename= (11)
- get (22)
- getresource (11)
- getresources (11)
- gets (44)
- glob (18)
-
inplace
_ mode (11) -
inplace
_ mode= (11) - load (22)
- mlsd (18)
- move (11)
- mv (11)
- needed? (11)
- new (33)
- open (22)
- out (18)
- parse (11)
- path (11)
- pathmap (11)
- query (11)
- read (22)
- readline (11)
- readlines (11)
- remove (11)
- rm (11)
- rss (11)
-
ruby 1
. 8 . 3 feature (11) -
set
_ encoding _ by _ bom (5) - stdout= (11)
- strings (11)
-
sub
_ ext (11) - tee (18)
-
to
_ io (11) - unlink (11)
- wrap (22)
- zero? (11)
- 正規表現 (11)
検索結果
先頭5件
-
Resolv
:: DNS :: Resource :: TXT (18028.0) -
DNS リソースの TXT レコード を表す抽象クラスです。
...DNS リソースの TXT レコード
を表す抽象クラスです。
Resolv::DNS#getresource で TXT レコードを得たい場合は
Resolv::DNS::Resource::IN::TXT を使うべきです。... -
Resolv
:: DNS :: Resource :: IN :: TXT (18016.0) -
DNS リソースのクラス IN、タイプ TXT に対応する クラスです。
...DNS リソースのクラス IN、タイプ TXT に対応する
クラスです。... -
Errno
:: ETXTBSY (6000.0) -
システムコールのエラーコードを表す例外クラスです。詳細は Errno::EXXX を参照してください。
システムコールのエラーコードを表す例外クラスです。詳細は Errno::EXXX を参照してください。 -
Resolv
:: DNS :: Resource :: TXT . new(first _ string , *rest _ strings) -> Resolv :: DNS :: Resource :: TXT (3117.0) -
Resolv::DNS::Resource::TXTのインスタンスを生成します。
...Resolv::DNS::Resource::TXTのインスタンスを生成します。
@param first_string レコードの最初の文字列
@param rest_strings レコードの残りの文字列... -
Resolv
:: DNS :: Resource :: TXT # data -> String (3016.0) -
TXT レコードの最初の文字列を返します。
...TXT レコードの最初の文字列を返します。... -
Resolv
:: DNS :: Resource :: TXT # strings -> [String] (3016.0) -
TXT レコードの文字列を配列で返します。
...TXT レコードの文字列を配列で返します。... -
Kernel
. # readlines(rs = $ / ) -> [String] (54.0) -
ARGFを Kernel.#gets(rs) でEOFまで読み込んで、その各行を要素としてもつ配列を返します。 行の区切りは引数 rs で指定した文字列になります。
...st[main.rb][ruby]{
ARGV << 'b.txt' << 'b.txt'
p readlines #=> ["hello\n", "it\n", "\n", "common\n", "hello\n", "it\n", "\n", "common\n"]
ARGV << 'b.txt' << 'b.txt'
p readlines(nil) #=> ["hello\nit\n\ncommon\n", "hello\nit\n\ncommon\n"]
ARGV << 'b.txt' << 'b.txt'
p readlines("") #=> ["hell......o\nit\n\n", "common\n", "hello\nit\n\n", "common\n"]
ARGV << 'b.txt' << 'b.txt'
p readlines('it') #=> ["hello\nit", "\n\ncommon\n", "hello\nit", "\n\ncommon\n"]
p readlines #=> []
//}
//emlist[b.txt][ruby]{
hello
it
common
//}
@see $/,ARGF,Kernel.#gets, Kernel.#readline... -
ARGF
. class # gets(limit) -> String | nil (48.0) -
ARGFの現在位置から一行ずつ文字列として読み込みます。EOF に到達した時に は nil を返します。
...est.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets # => "line1\n"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets(2) # => "li"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt......# $ ruby test.rb test.txt
# test.rb
ARGF.gets("e") # => "line"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets("") # => "line1\nline2\nline3\n\n"
@see Kernel.#gets, IO#gets, ARGF.class#getbyte,... -
ARGF
. class # gets(limit , chomp: false) -> String | nil (48.0) -
ARGFの現在位置から一行ずつ文字列として読み込みます。EOF に到達した時に は nil を返します。
...est.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets # => "line1\n"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets(2) # => "li"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt......# $ ruby test.rb test.txt
# test.rb
ARGF.gets("e") # => "line"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets("") # => "line1\nline2\nline3\n\n"
@see Kernel.#gets, IO#gets, ARGF.class#getbyte,... -
ARGF
. class # gets(rs = $ / ) -> String | nil (48.0) -
ARGFの現在位置から一行ずつ文字列として読み込みます。EOF に到達した時に は nil を返します。
...est.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets # => "line1\n"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets(2) # => "li"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt......# $ ruby test.rb test.txt
# test.rb
ARGF.gets("e") # => "line"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets("") # => "line1\nline2\nline3\n\n"
@see Kernel.#gets, IO#gets, ARGF.class#getbyte,... -
ARGF
. class # gets(rs = $ / , chomp: false) -> String | nil (48.0) -
ARGFの現在位置から一行ずつ文字列として読み込みます。EOF に到達した時に は nil を返します。
...est.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets # => "line1\n"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets(2) # => "li"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt......# $ ruby test.rb test.txt
# test.rb
ARGF.gets("e") # => "line"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets("") # => "line1\nline2\nline3\n\n"
@see Kernel.#gets, IO#gets, ARGF.class#getbyte,... -
ARGF
. class # gets(rs , limit) -> String | nil (48.0) -
ARGFの現在位置から一行ずつ文字列として読み込みます。EOF に到達した時に は nil を返します。
...est.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets # => "line1\n"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets(2) # => "li"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt......# $ ruby test.rb test.txt
# test.rb
ARGF.gets("e") # => "line"
例:
# $ echo "line1\nline2\nline3\n\nline4\n" > test.txt
# $ ruby test.rb test.txt
# test.rb
ARGF.gets("") # => "line1\nline2\nline3\n\n"
@see Kernel.#gets, IO#gets, ARGF.class#getbyte,...