種類
ライブラリ
- English (96)
- ビルトイン (144)
- csv (36)
- etc (36)
-
irb
/ context (36) -
irb
/ input-method (276) -
irb
/ output-method (96) -
irb
/ xmp (12) - json (24)
-
minitest
/ unit (1) -
net
/ ftp (120) -
net
/ http (120) -
net
/ pop (12) -
net
/ smtp (24) -
net
/ telnet (2) - openssl (36)
- prettyprint (60)
- rake (12)
- readline (24)
-
rexml
/ document (132) - rss (564)
-
rubygems
/ package / tar _ input (108) -
rubygems
/ package / tar _ output (84) -
rubygems
/ requirement (12) -
rubygems
/ specification (24) -
rubygems
/ version (12) - shell (33)
-
shell
/ builtin-command (12) -
shell
/ filter (12) -
shell
/ process-controller (6) -
shell
/ system-command (6) - stringio (24)
-
webrick
/ httpservlet / abstract (72) -
webrick
/ httputils (312) - win32ole (84)
- zlib (36)
クラス
-
ARGF
. class (24) - CSV (36)
-
Encoding
:: Converter (36) -
Encoding
:: InvalidByteSequenceError (12) -
Gem
:: Package :: TarInput (96) -
Gem
:: Package :: TarOutput (72) -
Gem
:: Requirement (12) -
Gem
:: Specification (24) -
Gem
:: Version (12) - IO (24)
-
IRB
:: Context (36) -
IRB
:: FileInputMethod (36) -
IRB
:: InputMethod (48) -
IRB
:: OutputMethod (60) -
IRB
:: ReadlineInputMethod (72) -
IRB
:: StdioInputMethod (72) -
IRB
:: StdioOutputMethod (12) -
MiniTest
:: Unit (1) -
Net
:: FTP (120) -
Net
:: HTTP (96) -
Net
:: POP3 (12) -
Net
:: SMTP (24) -
Net
:: Telnet (2) -
OpenSSL
:: PKey :: DH (12) -
OpenSSL
:: PKey :: EC (12) - PrettyPrint (60)
-
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) -
REXML
:: Text (12) -
RSS
:: Maker :: RSSBase (12) -
RSS
:: Maker :: TextinputBase (96) -
RSS
:: RDF (24) -
RSS
:: RDF :: Channel (24) -
RSS
:: RDF :: Channel :: Textinput (24) -
RSS
:: RDF :: Textinput (144) -
RSS
:: Rss (12) -
RSS
:: Rss :: Channel (24) -
RSS
:: Rss :: Channel :: TextInput (96) -
Rake
:: Application (12) - Shell (33)
-
Shell
:: AppendFile (6) -
Shell
:: AppendIO (6) -
Shell
:: Filter (12) -
Shell
:: ProcessController (6) -
Shell
:: SystemCommand (6) - StringIO (24)
-
WEBrick
:: HTTPServlet :: AbstractServlet (72) -
WEBrick
:: HTTPUtils :: FormData (144) - WIN32OLE (48)
-
WIN32OLE
_ PARAM (24) - XMP (12)
-
Zlib
:: GzipFile :: Error (12) -
Zlib
:: GzipWriter (24)
モジュール
- Etc (36)
- JSON (24)
- Kernel (120)
-
OpenSSL
:: Buffering (12) - Process (24)
-
RSS
:: RootElementMixin (24) - Readline (24)
-
WEBrick
:: HTTPUtils (144)
キーワード
-
$ DEFAULT _ INPUT (12) -
$ DEFAULT _ OUTPUT (12) -
$ INPUT _ LINE _ NUMBER (12) -
$ INPUT _ RECORD _ SEPARATOR (12) -
$ NR (12) -
$ OUTPUT _ FIELD _ SEPARATOR (12) -
$ OUTPUT _ RECORD _ SEPARATOR (12) -
$ RS (12) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (12)
-
CLOCK
_ PROCESS _ CPUTIME _ ID (12) -
CLOCK
_ THREAD _ CPUTIME _ ID (12) -
DEFAULT
_ BLOCKSIZE (12) - DefaultMimeTypes (12)
- FileInputMethod (12)
- FormData (12)
- HTTPRequest (12)
- HTTPUtils (12)
- InputMethod (12)
- Output (12)
- OutputMethod (12)
-
PC
_ MAX _ INPUT (12) - ReadlineInputMethod (12)
-
SC
_ CPUTIME (12) -
SC
_ THREAD _ CPUTIME (12) - StdioInputMethod (12)
- StdioOutputMethod (12)
- TarInput (12)
- TarOutput (12)
- TextInput (12)
- Textinput (60)
- TextinputBase (12)
-
WIN32OLE
_ METHOD (12) - [] (12)
- about (12)
- about= (12)
-
add
_ gem _ contents (12) -
add
_ signatures (12) -
append
_ data (12) - binary (12)
- binary= (12)
-
block
_ output _ synchronize (6) - close (24)
-
compute
_ key (12) - create (24)
- date (12)
- date= (12)
-
debug
_ output= (12) -
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ lock (6) -
debug
_ output _ locked? (6) -
debug
_ output _ synchronize (6) -
debug
_ output _ try _ lock (6) -
debug
_ output _ unlock (6) - dequote (12)
- description (36)
- description= (36)
-
dh
_ compute _ key (12) -
do
_ DELETE (12) -
do
_ GET (12) -
do
_ HEAD (12) -
do
_ OPTIONS (12) -
do
_ POST (12) -
do
_ PUT (12) - each (12)
-
each
_ data (12) - encoding (36)
- eof? (24)
- escape (12)
- escape8bit (12)
-
escape
_ path (12) -
extract
_ entry (12) -
file
_ input? (12) -
file
_ name (12) - filename (12)
- filename= (12)
- filter (24)
-
force
_ output (12) -
force
_ output= (12) - format (12)
-
from
_ yaml (12) - generate (12)
- gets (48)
-
incomplete
_ input? (12) - input (18)
- input= (36)
- input? (12)
-
insert
_ output (12) - io (12)
-
irb
/ input-method (12) -
irb
/ output-method (12) - line (24)
- link (36)
- link= (36)
- list (12)
-
load
_ gemspec (12) -
load
_ mime _ types (12) -
mime
_ type (12) - name (48)
- name= (48)
-
net
/ ftp (12) - new (120)
- normalize (12)
-
normalize
_ yaml _ input (12) -
ole
_ func _ methods (12) -
ole
_ get _ methods (12) -
ole
_ methods (12) -
ole
_ put _ methods (12) - open (24)
- output (12)
- output= (13)
- output? (12)
-
output
_ encoding (12) -
output
_ encoding= (12) -
parse
_ header (12) -
parse
_ range _ header (12) - pp (12)
- ppx (12)
- print (24)
- printn (12)
- put (36)
- put2 (24)
- putback (24)
- putbinaryfile (24)
- putc (60)
- puts (110)
- puttextfile (24)
- quote (12)
-
readable
_ atfer _ eof? (36) - request (24)
-
request
_ put (24) - resource (12)
- resource= (12)
- resume (12)
-
ruby 1
. 8 . 3 feature (12) -
rubygems
/ package / tar _ input (12) -
rubygems
/ package / tar _ output (12) -
set
_ debug _ output (36) -
singleline
_ format (12) -
split
_ header _ value (12) - textInput (12)
- textInput= (12)
- textinput (48)
- textinput= (24)
- title (36)
- title= (36)
-
to
_ ary (12) -
to
_ s (12) -
tty
_ output= (12) - unescape (12)
- unparse (12)
-
webrick
/ cgi (12) -
webrick
/ httputils (12) - write (108)
-
zipped
_ stream (12)
検索結果
先頭5件
-
ARGF
. class # putc(ch) -> object (6100.0) -
文字 ch を処理対象のファイルに出力します。 ch を返します。
...象のファイルに出力します。
ch を返します。
c:ARGF#inplace時にのみ使用できます。
また $stdout への代入の影響を受けません。
それ以外は Kernel.#putc と同じです。
@param ch 出力する文字を String オブジェクトで指定します。... -
ARGF
. class # puts(*arg) -> nil (6100.0) -
引数と改行を順番に処理対象のファイルに出力します。 引数がなければ改行のみを出力します。
...力します。
引数がなければ改行のみを出力します。
c:ARGF#inplace時にのみ使用できます。
また $stdout への代入の影響を受けません。
それ以外は Kernel.#puts と同じです。
@param arg 出力するオブジェクトを任意個指定します。... -
Encoding
:: Converter # insert _ output(string) -> nil (6100.0) -
変換器内のバッファに文字列を挿入します。 バッファに保持された文字列は、次の変換時の変換結果と一緒に返されます。
...2}."
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, dst) #=> :finished
puts "[#{dst.dump}, #{src.dump}]" #=> ["HIRAGANA LETTER A is <err>.", ""]......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}]"... -
Encoding
:: InvalidByteSequenceError # incomplete _ input? -> bool (6100.0) -
エラー発生時に入力文字列が不足している場合に真を返します。
...SequenceError: "\xA1" followed by "z" on EUC-JP>
p $!.incomplete_input? #=> false
end
begin
ec.convert("abc\xA1")
ec.finish
rescue Encoding::InvalidByteSequenceError
p $! #=> #<Encoding::InvalidByteSequenceError: incomplete "\xA1" on EUC-JP>
p $!.incomplete_input? #=> true
end
//}... -
IO
# putc(ch) -> object (6100.0) -
文字 ch を self に出力します。 引数の扱いは Kernel.#putc と同じです。詳細はこちらを参照し てください。ch を返します。
...文字 ch を self に出力します。
引数の扱いは Kernel.#putc と同じです。詳細はこちらを参照し
てください。ch を返します。
@param ch 出力したい文字を、文字列か文字コード(整数)で与えます。
@raise IOError 自身が書き込み用に......オープンされていなければ発生します。
@raise Errno::EXXX 出力に失敗した場合に発生します。
//emlist[例][ruby]{
$stdout.putc "A" # => A
$stdout.putc 65 # => A
//}
@see Kernel.#putc... -
IO
# puts(*obj) -> nil (6100.0) -
各 obj を self に出力し、それぞれの後に改行を出力します。 引数の扱いは Kernel.#puts と同じです。詳細はこちらを参照し てください。
...れぞれの後に改行を出力します。
引数の扱いは Kernel.#puts と同じです。詳細はこちらを参照し
てください。
@param obj 出力したいオブジェクトを指定します。Kernel.#puts と同じです。
@raise IOError 自身が書き込み用にオープン......されていなければ発生します。
@raise Errno::EXXX 出力に失敗した場合に発生します。
$stdout.puts("this", "is", "a", "test", [1, [nil, 3]])
#=>
this
is
a
test
1
3
@see Kernel.#puts... -
IRB
:: Context # file _ input? -> bool (6100.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
Kernel
$ $ DEFAULT _ INPUT -> IO (6100.0) -
$< の別名
...$< の別名
require "English"
while line = $DEFAULT_INPUT.gets
p line
end
# end of sample.rb
ruby sample.rb < /etc/passwd
# => "hoge:x:500:501::/home/hoge:/bin/bash\n"
...... -
Kernel
$ $ DEFAULT _ OUTPUT -> IO (6100.0) -
$> の別名
...$> の別名
require "English"
dout = $DEFAULT_OUTPUT.dup
$DEFAULT_OUTPUT.reopen("out.txt", "w")
print "foo"
$DEFAULT_OUTPUT.close
$DEFAULT_OUTPUT = dout
p "bar" # => bar
p File.read("out.txt") #=> foo...