1142件ヒット
[1-100件を表示]
(0.122秒)
別のキーワード
ライブラリ
- ビルトイン (222)
-
cgi
/ core (22) - erb (11)
- expect (22)
-
irb
/ output-method (66) - mkmf (11)
-
net
/ ftp (44) -
net
/ http (133) -
net
/ imap (22) -
net
/ pop (55) -
net
/ smtp (66) - openssl (66)
- prettyprint (11)
- rake (11)
-
rexml
/ document (99) - rss (66)
-
rubygems
/ package / tar _ output (44) -
shell
/ command-processor (6) - stringio (33)
- strscan (22)
- timeout (11)
- uri (22)
- win32ole (33)
- zlib (22)
クラス
-
ARGF
. class (20) - Array (52)
- CGI (22)
- ERB (11)
-
Encoding
:: Converter (11) -
Gem
:: Package :: TarOutput (44) - IO (73)
-
IRB
:: OutputMethod (55) -
IRB
:: StdioOutputMethod (11) - Integer (22)
- MatchData (22)
- Mutex (2)
-
Net
:: FTP (44) -
Net
:: HTTP (133) -
Net
:: IMAP (11) -
Net
:: IMAP :: Address (11) -
Net
:: POP3 (55) -
Net
:: SMTP (66) - Object (11)
-
OpenSSL
:: SSL :: SSLContext (44) -
OpenSSL
:: SSL :: Session (22) - PrettyPrint (11)
-
RDoc
:: Options (22) -
REXML
:: Attribute (11) -
REXML
:: Declaration (11) -
REXML
:: DocType (11) -
REXML
:: Document (22) -
REXML
:: Element (11) -
REXML
:: ExternalEntity (11) -
REXML
:: Formatters :: Default (11) -
REXML
:: NotationDecl (11) -
RSS
:: RDF :: Textinput (22) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (22) -
Rake
:: Application (11) -
Shell
:: CommandProcessor (6) - String (22)
- StringIO (33)
- StringScanner (22)
-
Thread
:: Mutex (9) -
URI
:: Generic (22) -
WIN32OLE
_ PARAM (33) -
Zlib
:: GzipReader (11) -
Zlib
:: Inflate (11)
モジュール
- Kernel (22)
-
RSS
:: RootElementMixin (22)
キーワード
- << (11)
- about (22)
- about= (22)
-
add
_ gem _ contents (11) -
add
_ signatures (11) - begin (11)
- chr (22)
- close (11)
-
continue
_ timeout (11) -
continue
_ timeout= (11) -
cpp
_ command (11) -
debug
_ output= (11) - display (11)
- end (11)
- expect (22)
- fetch (33)
-
force
_ output (11) -
force
_ output= (11) - header (11)
- input? (11)
-
insert
_ output (11) -
keep
_ alive _ timeout (11) -
keep
_ alive _ timeout= (11) - logout (11)
-
open
_ timeout (44) -
open
_ timeout= (44) - output (11)
- output? (11)
-
output
_ encoding (11) -
output
_ encoding= (11) - pack (19)
- pointer= (11)
- pos= (11)
- pp (11)
- ppx (11)
- pread (7)
- print (22)
- printn (11)
- puts (11)
- read (11)
-
read
_ nonblock (31) -
read
_ timeout (44) -
read
_ timeout= (44) - readpartial (44)
- retval? (11)
- route (11)
-
route
_ from (11) -
route
_ to (11) -
set
_ debug _ output (33) -
set
_ eoutvar (11) - sleep (11)
-
ssl
_ timeout (22) -
ssl
_ timeout= (22) - sysread (22)
- timeout (33)
- timeout= (22)
-
to
_ f (11) -
tty
_ output= (11) - unpack (11)
- write (99)
-
write
_ timeout (6) -
write
_ timeout= (6)
検索結果
先頭5件
-
Shell
:: CommandProcessor # out(dev = STDOUT , &block) -> () (21214.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...ます。
@param dev 出力先をIO オブジェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
File.open("out.txt", "w"){ |fp|
sh.out(fp) {
s... -
CGI
# out(options = "text / html") { . . . . } (18220.0) -
HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
...HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
HEADリクエスト (REQUEST_METHOD == "HEAD") の場合は HTTP ヘッダのみを出力します。
charset が "iso-2022-jp"・"euc-jp"・"shift_jis" のいずれかで
ある場合は文字列エ......す。
@param options Hash か文字列で HTTP ヘッダを生成するための情報を指定します。
例:
cgi = CGI.new
cgi.out{ "string" }
# Content-Type: text/html
# Content-Length: 6
#
# string
cgi.out("text/plain"){ "st......nt-Type: text/plain
# Content-Length: 6
#
# string
cgi.out({"nph" => true,
"status" => "OK", # == "200 OK"
"server" => ENV['SERVER_SOFTWARE'],
"connection" => "close",
"type"... -
PrettyPrint
# output -> object (15201.0) -
自身の output を返します。
...自身の output を返します。... -
Rake
:: Application # tty _ output=(tty _ output _ state) (12401.0) -
TTY に対する出力状態を上書きします。
...。
@param tty_output_state 変更後の状態を指定します
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.tty_output? # => false
Rake.application.tty_output = "debug output" # => "debug output"......Rake.application.tty_output? # => "debug output"
end
//}... -
Encoding
:: Converter # insert _ output(string) -> nil (12225.0) -
変換器内のバッファに文字列を挿入します。 バッファに保持された文字列は、次の変換時の変換結果と一緒に返されます。
...param string 挿入する文字列
//emlist[][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_out......put("<err>")
p ec.primitive_convert(src, dst) #=> :finished
puts "[#{dst.dump}, #{src.dump}]" #=> ["HIRAGANA LETTER A is <err>.", ""]
ec = Encoding::Converter.new("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_c......ndefined_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$... -
WIN32OLE
_ PARAM # output? -> bool (12219.0) -
パラメータがクライアントからの結果を受け取るためのものかを判定します。
...PARAM#input?が真)、out(サーバがクライアントへ与える。
WIN32OLE_PARAM#output?が真)および、inout(クライアントからサーバ
へ与え、サーバがクライアントへ与える)の3種類の方向属性のいずれかを持ち
ます。
output?メソッドはout......inout属性なら真を返します。
@return メソッドの方向属性が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 result 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
:: POP3 # set _ debug _ output(f) -> () (12207.0) -
デバッグ用の出力 f をセットします。
...net/pop'
pop = Net::POP3.new('pop.example.com', 110)
pop.set_debug_output $stderr
pop.start('YourAccount', 'YourPassword') {
p pop.n_bytes
}
実行結果:
POP session started: pop.example.com:110 (POP)
-> "+OK popd <1162042773.26346.155555a1861c@pop.example.com>\r\n"
<- "APOP Yo... -
Net
:: FTP # open _ timeout -> Numeric|nil (12201.0) -
接続時のタイムアウトの秒数を返します。
...たってもコネクションが
開かなければ例外 Net::OpenTimeout を発生します。
整数以外での浮動小数点数や分数を指定することができます。
デフォルトは nil(タイムアウトしない)です。
@see Net::HTTP#read_timeout, Net::HTTP#open_timeout=... -
Net
:: FTP # open _ timeout=(seconds) (12201.0) -
接続時のタイムアウトの秒数を設定します。
...t::OpenTimeout を発生します。
整数以外での浮動小数点数や分数を指定することができます。
デフォルトは nil(タイムアウトしない)です。
制御用コネクションを開く以下のメソッドで利用されます。
* Net::FTP.open
* Net::FTP.ne......TP#connect
また、以下のデータ転送用コネクションを開くメソッドでも利用されます。
* Net::FTP#retrbinary
* Net::FTP#retrlines
* Net::FTP#storbinary
* Net::FTP#storlines
@param second 待つ秒数を指定します。
@see Net::HTTP#read_timeout, Net::HTTP#op......en_timeout... -
Net
:: HTTP # keep _ alive _ timeout -> Integer (12201.0) -
以前のリクエストで使ったコネクションの再利用(keep-alive)を許可する秒数を 返します。
...以前のリクエストで使ったコネクションの再利用(keep-alive)を許可する秒数を
返します。
デフォルトは2(秒)です。
@see Net::HTTP#keep_alive_timeout=...