1277件ヒット
[1-100件を表示]
(0.095秒)
ライブラリ
- ビルトイン (291)
-
cgi
/ core (24) - erb (12)
- expect (24)
-
io
/ wait (36) -
irb
/ output-method (60) - kconv (48)
-
minitest
/ unit (1) - mkmf (12)
- monitor (18)
-
net
/ ftp (24) -
net
/ http (91) -
net
/ imap (24) -
net
/ pop (36) -
net
/ smtp (36) - openssl (36)
- prettyprint (12)
-
rexml
/ document (132) -
rubygems
/ package / tar _ output (36) -
rubygems
/ source _ index (12) -
rubygems
/ user _ interaction (12) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (18) - stringio (48)
- strscan (24)
- thread (2)
- timeout (16)
- tracer (12)
- uri (24)
-
webrick
/ cgi (12) -
webrick
/ log (12) - win32ole (48)
- zlib (60)
クラス
-
ARGF
. class (24) - Array (57)
- CGI (24)
- ERB (12)
-
Encoding
:: Converter (12) - File (12)
-
Gem
:: Package :: TarOutput (36) -
Gem
:: SourceIndex (12) -
Gem
:: StreamUI (12) - IO (116)
-
IRB
:: OutputMethod (48) -
IRB
:: StdioOutputMethod (12) - Integer (48)
- MatchData (24)
-
MiniTest
:: Unit (1) - Monitor (6)
-
MonitorMixin
:: ConditionVariable (12) - Mutex (2)
-
Net
:: FTP (24) -
Net
:: HTTP (91) -
Net
:: IMAP (12) -
Net
:: IMAP :: Address (12) -
Net
:: POP3 (36) -
Net
:: SMTP (36) - Object (12)
-
OpenSSL
:: SSL :: SSLContext (24) -
OpenSSL
:: SSL :: Session (12) - PrettyPrint (12)
-
RDoc
:: Options (12) -
REXML
:: AttlistDecl (12) -
REXML
:: Attribute (12) -
REXML
:: Declaration (12) -
REXML
:: DocType (12) -
REXML
:: Document (24) -
REXML
:: Element (12) -
REXML
:: Entity (12) -
REXML
:: ExternalEntity (12) -
REXML
:: Formatters :: Default (12) -
REXML
:: NotationDecl (12) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (18) - String (72)
- StringIO (48)
- StringScanner (24)
-
Thread
:: ConditionVariable (12) -
Thread
:: Mutex (10) - Tracer (12)
-
URI
:: Generic (24) -
WEBrick
:: BasicLog (12) -
WEBrick
:: CGI (12) -
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ PARAM (36) -
Zlib
:: GzipReader (12) -
Zlib
:: Inflate (12) -
Zlib
:: ZStream (36)
モジュール
- Kernel (28)
キーワード
- << (12)
- > (6)
- >> (6)
-
add
_ gem _ contents (12) -
add
_ signatures (12) -
avail
_ out (12) - begin (12)
- chmod (12)
- chr (24)
-
continue
_ timeout (12) -
cpp
_ command (12) - digits (24)
- display (12)
- end (12)
- expect (24)
- fatal (12)
- fetch (36)
-
flush
_ next _ out (12) -
force
_ output (12) - header (12)
- input? (12)
-
insert
_ output (12) - kconv (12)
-
keep
_ alive _ timeout (12) -
keep
_ alive _ timeout= (12) - logout (12)
-
on
_ event _ with _ outargs (12) -
open
_ timeout (48) - outdated (12)
- output (12)
- output? (12)
- outs (12)
- pack (21)
- pointer= (12)
- pos= (12)
- pp (12)
- ppx (12)
- pread (8)
- print (12)
- printn (12)
- puts (12)
- read (24)
-
read
_ nonblock (36) -
read
_ timeout (48) - readpartial (48)
- retval? (12)
- route (12)
-
route
_ from (12) -
route
_ to (12) -
set
_ debug _ output (36) -
set
_ eoutvar (12) - sleep (12)
-
ssl
_ timeout (24) - start (12)
- status (1)
- stdout (12)
- sysread (24)
- timeout (40)
-
to
_ f (12) -
total
_ out (12) - toutf16 (12)
- toutf32 (12)
- toutf8 (12)
- unpack (12)
- wait (36)
-
wait
_ for _ cond (6) -
wait
_ readable (12) -
wait
_ writable (12) - write (132)
-
write
_ timeout (7)
検索結果
先頭5件
-
Shell
# out(dev = STDOUT , &block) -> () (18314.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...ェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
File.open("out.txt", "w"){ |fp|
sh.out(fp) {
system("ls", "-l") | head("-n 3")
}
}... -
Shell
:: CommandProcessor # out(dev = STDOUT , &block) -> () (18314.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...ェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
File.open("out.txt", "w"){ |fp|
sh.out(fp) {
system("ls", "-l") | head("-n 3")
}
}... -
Shell
:: Filter # out(dev = STDOUT , &block) -> () (18314.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...ェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
File.open("out.txt", "w"){ |fp|
sh.out(fp) {
system("ls", "-l") | head("-n 3")
}
}... -
CGI
# out(options = "text / html") { . . . . } (18192.0) -
HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
...に出力します。
HEADリクエスト (REQUEST_METHOD == "HEAD") の場合は HTTP ヘッダのみを出力します。
charset が "iso-2022-jp"・"euc-jp"・"shift_jis" のいずれかで
ある場合は文字列エンコーディングを自動変換し、language を "ja"にします。
@......ew
cgi.out{ "string" }
# Content-Type: text/html
# Content-Length: 6
#
# string
cgi.out("text/plain"){ "string" }
# Content-Type: text/plain
# Content-Length: 6
#
# string
cgi.out({"nph"......"connection" => "close",
"type" => "text/html",
"charset" => "iso-2022-jp",
# Content-Type: text/html; charset=iso-2022-jp
"language" => "ja",
"expires" => Time.now + (3600 * 24 * 30),... -
ERB
# set _ eoutvar(compiler , eoutvar = & # 39; _ erbout& # 39;) -> Array (6401.0) -
ERBの中でeRubyスクリプトの出力をためていく変数を設定します。
...用した方がより容易です。
本メソッドを使用するためには、引数にて指定する eRuby コンパイラを事前に生成しておく必要があります。
@param compiler eRubyコンパイラ
@param eoutvar eRubyスクリプトの中で出力をためていく変数... -
Encoding
:: Converter # insert _ output(string) -> nil (6273.0) -
変換器内のバッファに文字列を挿入します。 バッファに保持された文字列は、次の変換時の変換結果と一緒に返されます。
...t[][ruby]{
ec = Encoding::Converter.new("utf-8", "iso-8859-1")
src = "HIRAGANA LETTER A is \u{3042}."
dst = ""
p ec.primitive_convert(src, dst) #=> :undefined_conversion
puts "[#{dst.dump}, #{src.dump}]" #=> ["HIRAGANA LETTER A is ", "."]
ec.insert_output("<err>")
p ec.primitive_convert(src, ds......"utf-8", "iso-2022-jp")
src = "\u{306F 3041 3068 2661 3002}" # U+2661 is not representable in iso-2022-jp
dst = ""
p ec.primitive_convert(src, dst) #=> :undefined_conversion
puts "[#{dst.dump}, #{src.dump}]" #=> ["\e$B$O$!$H".force_encoding("ISO-2022-JP"), "\xE3\ x80\x82"]
ec.insert_output......"?" # state change required to output "?".
p ec.primitive_convert(src, dst) #=> :finished
puts "[#{dst.dump}, #{src.dump}]" #=> ["\e$B$O$!$H\e(B?\e$B!#\e(B".force_encoding("ISO-20 22-JP"), ""]
//}... -
Net
:: IMAP :: Address # route -> String | nil (6233.0) -
メールアドレスの SMTP at-domain-list を返します。
...メールアドレスの SMTP at-domain-list を返します。
存在しない場合は nil を返します。
通常は nil を返します。... -
WIN32OLE
_ PARAM # output? -> bool (6225.0) -
パラメータがクライアントからの結果を受け取るためのものかを判定します。
...out(サーバがクライアントへ与える。
WIN32OLE_PARAM#output?が真)および、inout(クライアントからサーバ
へ与え、サーバがクライアントへ与える)の3種類の方向属性のいずれかを持ち
ます。
output?メソッドはout属性またはinout......ッドの方向属性がoutまたはinoutならば真を返します。
tobj = WIN32OLE_TYPE.new('Microsoft Internet Controls', 'DWebBrowserEvents')
method = WIN32OLE_METHOD.new(tobj, 'NewWindow')
method.params.each do |param|
puts "#{param.name} #{param.output?}"
end
The resul......t of above script is following:
URL false
Flags false
TargetFrameName false
PostData false
Headers false
Processed true
@see http://msdn.microsoft.com/en-us/library/aa367136(v=VS.85).aspx... -
Net
:: HTTP # keep _ alive _ timeout -> Integer (6217.0) -
以前のリクエストで使ったコネクションの再利用(keep-alive)を許可する秒数を 返します。
...以前のリクエストで使ったコネクションの再利用(keep-alive)を許可する秒数を
返します。
デフォルトは2(秒)です。
@see Net::HTTP#keep_alive_timeout=... -
RDoc
:: Options # force _ output -> bool (6217.0) -
コマンドライン引数の --force_output オプションを指定していた場合、true を返します。--no-force_output オプションを指定していた場合、false を返 します。
...コマンドライン引数の --force_output オプションを指定していた場合、true
を返します。--no-force_output オプションを指定していた場合、false を返
します。
どちらも指定しなかった場合は true を返します。...