1243件ヒット
[1-100件を表示]
(0.109秒)
別のキーワード
ライブラリ
- ビルトイン (243)
-
cgi
/ core (24) - erb (12)
- expect (24)
-
irb
/ output-method (72) - mkmf (12)
-
net
/ ftp (48) -
net
/ http (146) -
net
/ imap (24) -
net
/ pop (60) -
net
/ smtp (72) - openssl (72)
- prettyprint (12)
- rake (12)
-
rexml
/ document (108) - rss (72)
-
rubygems
/ package / tar _ output (48) -
shell
/ command-processor (6) - stringio (36)
- strscan (24)
- timeout (8)
- uri (24)
- win32ole (36)
- zlib (24)
クラス
-
ARGF
. class (22) - Array (57)
- CGI (24)
- ERB (12)
-
Encoding
:: Converter (12) -
Gem
:: Package :: TarOutput (48) - IO (80)
-
IRB
:: OutputMethod (60) -
IRB
:: StdioOutputMethod (12) - Integer (24)
- MatchData (24)
- Mutex (2)
-
Net
:: FTP (48) -
Net
:: HTTP (146) -
Net
:: IMAP (12) -
Net
:: IMAP :: Address (12) -
Net
:: POP3 (60) -
Net
:: SMTP (72) - Object (12)
-
OpenSSL
:: SSL :: SSLContext (48) -
OpenSSL
:: SSL :: Session (24) - PrettyPrint (12)
-
RDoc
:: Options (24) -
REXML
:: Attribute (12) -
REXML
:: Declaration (12) -
REXML
:: DocType (12) -
REXML
:: Document (24) -
REXML
:: Element (12) -
REXML
:: ExternalEntity (12) -
REXML
:: Formatters :: Default (12) -
REXML
:: NotationDecl (12) -
RSS
:: RDF :: Textinput (24) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (24) -
Rake
:: Application (12) -
Shell
:: CommandProcessor (6) - String (24)
- StringIO (36)
- StringScanner (24)
-
Thread
:: Mutex (10) -
URI
:: Generic (24) -
WIN32OLE
_ PARAM (36) -
Zlib
:: GzipReader (12) -
Zlib
:: Inflate (12)
モジュール
- Kernel (20)
-
RSS
:: RootElementMixin (24)
キーワード
- << (12)
- about (24)
- about= (24)
-
add
_ gem _ contents (12) -
add
_ signatures (12) - begin (12)
- chr (24)
- close (12)
-
continue
_ timeout (12) -
continue
_ timeout= (12) -
cpp
_ command (12) -
debug
_ output= (12) - display (12)
- end (12)
- expect (24)
- fetch (36)
-
force
_ output (12) -
force
_ output= (12) - header (12)
- input? (12)
-
insert
_ output (12) -
keep
_ alive _ timeout (12) -
keep
_ alive _ timeout= (12) - logout (12)
-
open
_ timeout (48) -
open
_ timeout= (48) - output (12)
- output? (12)
-
output
_ encoding (12) -
output
_ encoding= (12) - pack (21)
- pointer= (12)
- pos= (12)
- pp (12)
- ppx (12)
- pread (8)
- print (24)
- printn (12)
- puts (12)
- read (12)
-
read
_ nonblock (34) -
read
_ timeout (48) -
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) -
ssl
_ timeout= (24) - sysread (24)
- timeout (32)
- timeout= (24)
-
to
_ f (12) -
tty
_ output= (12) - unpack (12)
- write (108)
-
write
_ timeout (7) -
write
_ timeout= (7)
検索結果
先頭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...