2332件ヒット
[201-300件を表示]
(0.183秒)
ライブラリ
- ビルトイン (1608)
- bigdecimal (84)
-
bigdecimal
/ util (12) - fiddle (72)
-
io
/ console (24) - ipaddr (12)
-
irb
/ output-method (12) - openssl (48)
- optparse (36)
- ostruct (12)
- pathname (144)
- pp (12)
- prettyprint (12)
- prime (12)
- ripper (24)
-
ripper
/ filter (24) -
rubygems
/ dependency (12) - set (18)
- socket (32)
- stringio (74)
-
syslog
/ logger (12) - uri (12)
- win32ole (24)
クラス
-
ARGF
. class (86) - Array (202)
- BigDecimal (84)
- Bignum (12)
- Binding (7)
- Dir (11)
- Enumerator (12)
-
Fiddle
:: Pointer (72) -
File
:: Stat (12) - Fixnum (9)
-
Gem
:: Dependency (12) - IO (110)
- IPAddr (12)
-
IRB
:: OutputMethod (12) - Integer (567)
- MatchData (60)
- Module (12)
- Numeric (24)
- Object (42)
-
OpenSSL
:: PKey :: EC :: Point (36) - OpenStruct (12)
- OptionParser (36)
- Pathname (144)
- PrettyPrint (12)
- Proc (12)
-
Process
:: Status (24) - Random (36)
- Range (1)
- Regexp (12)
- Ripper (24)
-
Ripper
:: Filter (24) -
RubyVM
:: AbstractSyntaxTree :: Node (28) -
RubyVM
:: InstructionSequence (24) - Set (24)
- SignalException (12)
-
Socket
:: Ifaddr (32) - String (147)
- StringIO (74)
- Struct (12)
- Symbol (63)
-
Syslog
:: Logger (12) - Thread (17)
-
Thread
:: Backtrace :: Location (12) - Time (12)
- TracePoint (96)
-
URI
:: Generic (12) -
WIN32OLE
_ TYPE (12) -
WIN32OLE
_ VARIANT (12)
キーワード
- % (12)
- & (12)
- ** (12)
- -@ (18)
- < (12)
- <= (12)
- <=> (60)
- == (12)
- === (12)
- =~ (24)
- > (12)
- >= (12)
- >> (12)
- [] (48)
- []= (24)
- abs (12)
- allbits? (8)
- anybits? (8)
- binwrite (12)
-
bit
_ length (18) -
bsearch
_ index (10) - byterindex (3)
- bytes (12)
- ceil (24)
- ceildiv (3)
- chmod (12)
- chown (12)
- chr (24)
- codepoints (66)
- column (24)
- combination (24)
- count (12)
-
default
_ port (12) -
defined
_ class (12) - delete (12)
- digits (24)
- disable (24)
- disjoint? (12)
- div (12)
- divmod (18)
- downto (24)
-
each
_ codepoint (96) - enable (24)
- enabled? (12)
- exponent (12)
- fdiv (12)
- fileno (11)
-
first
_ column (7) -
first
_ lineno (19) - flags (12)
- flatten (12)
- flatten! (12)
- floor (24)
- gcd (12)
- gcdlcm (12)
- getbyte (12)
- group (12)
- hash (99)
- hex (12)
- ifindex (12)
- insert (12)
- inspect (12)
- intern (12)
- intersect? (12)
- invert! (12)
-
last
_ column (7) -
last
_ lineno (7) - lchmod (12)
- lchown (12)
- lcm (12)
- length (24)
- level (12)
- lineno (36)
- magnitude (12)
-
make
_ affine! (12) - match (3)
- mountpoint? (12)
- next (12)
- nobits? (8)
- offset (24)
- ord (12)
- order! (18)
- parse! (9)
-
pending
_ interrupt? (12) - permutation (24)
- permute! (9)
- pow (24)
- precs (12)
- pred (12)
-
pretty
_ print (12) -
prime
_ division (12) - printf (12)
- printn (12)
- rand (36)
- raw (12)
- raw! (12)
- remainder (12)
-
repeated
_ combination (24) -
repeated
_ permutation (24) - rindex (12)
- rotate! (12)
- round (12)
-
safe
_ level (5) - sample (48)
-
set
_ encoding (108) -
set
_ to _ infinity! (12) - signo (12)
- size (49)
-
source
_ location (7) - succ (12)
- sysopen (12)
- taint (9)
- times (24)
-
to
_ a (12) -
to
_ bn (12) -
to
_ d (12) -
to
_ f (12) -
to
_ i (24) -
to
_ int (36) -
to
_ str (24) -
to
_ sym (12) - truncate (12)
- typekind (12)
- unlink (12)
- untaint (9)
- upto (24)
- utime (12)
- vartype (12)
- vhid (8)
- write (12)
- ~ (12)
検索結果
先頭5件
-
IO
# printf(format , *arg) -> nil (6117.0) -
C 言語の printf と同じように、format に従い引数 を文字列に変換して、self に出力します。
...の printf と同じように、format に従い引数
を文字列に変換して、self に出力します。
第一引数に IO を指定できないこと、引数を省略できないことを除けば Kernel.#printf と同じです。
@param format Kernel.#printf と同じです。print_form......at を参照してください。
@param arg Kernel.#printf と同じです。
@raise IOError 自身が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX 出力に失敗した場合に発生します。
@see Kernel.#printf... -
IRB
:: OutputMethod # printn(*objs) -> nil (6117.0) -
各 obj を self に出力し、最後に改行を出力します。
...各 obj を self に出力し、最後に改行を出力します。
@param objs 任意のオブジェクトを指定します。... -
Pathname
# mountpoint? -> bool (6117.0) -
self がマウントポイントであれば真を返します。
...self がマウントポイントであれば真を返します。
//emlist[例][ruby]{
require "pathname"
path = Pathname("/")
path.mountpoint? # => true
path = Pathname("/usr")
path.mountpoint? # => false
//}... -
Thread
# pending _ interrupt?(error = nil) -> bool (6117.0) -
self の非同期例外のキューが空かどうかを返します。
...
self の非同期例外のキューが空かどうかを返します。
@param error 対象の例外クラスを指定します。
@see Thread.pending_interrupt?... -
Object
# pretty _ print(pp) -> () (6107.0) -
PP.pp や Kernel.#pp がオブジェクトの内容を出力するときに 呼ばれるメソッドです。PP オブジェクト pp を引数として呼ばれます。
...ます。
そのとき pretty_print メソッドは指定された pp に対して表示したい自身の内容を追加して
いかなければいけません。いくつかの組み込みクラスについて、
pp ライブラリはあらかじめ pretty_print メソッドを定義していま......ブジェクトです。
//emlist[][ruby]{
require 'pp'
class Array
def pretty_print(q)
q.group(1, '[', ']') {
q.seplist(self) {|v|
q.pp v
}
}
end
end
//}
@see Object#pretty_print_cycle, Object#inspect, PrettyPrint#text, PrettyPrint#group, PrettyPrint#breakable......@param pp PP オブジェクトです。
//emlist[][ruby]{
class Array
def pretty_print(q)
q.group(1, '[', ']') {
q.seplist(self) {|v|
q.pp v
}
}
end
end
//}
@see Object#pretty_print_cycle, Object#inspect, PrettyPrint#text, PrettyPrint#group, PrettyPrint#breakable... -
StringIO
# codepoints -> Enumerator (6103.0) -
自身の各コードポイントに対して繰り返します。
...自身の各コードポイントに対して繰り返します。
@see IO#each_codepoint... -
StringIO
# each _ codepoint -> Enumerator (6103.0) -
自身の各コードポイントに対して繰り返します。
...自身の各コードポイントに対して繰り返します。
@see IO#each_codepoint... -
ARGF
. class # codepoints -> Enumerator (6102.0) -
このメソッドは obsolete です。 代わりに ARGF.class#each_codepoint を使用してください。 使用すると警告メッセージが表示されます。
...このメソッドは obsolete です。
代わりに ARGF.class#each_codepoint を使用してください。
使用すると警告メッセージが表示されます。... -
IO
# codepoints -> Enumerator (6102.0) -
このメソッドは obsolete です。 代わりに IO#each_codepoint を使用してください。
...このメソッドは obsolete です。
代わりに IO#each_codepoint を使用してください。
使用すると警告メッセージが表示されます。
IO の各コードポイントに対して繰り返しブロックを呼びだします。
ブロックの引数にはコードポ......イントを表す整数が渡されます。
ブロックを省略した場合には、Enumerator を返します。
@see IO#each_codepoint... -
IO
# each _ codepoint -> Enumerator (6102.0) -
IO の各コードポイントに対して繰り返しブロックを呼びだします。
...にはコードポイントを表す整数が渡されます。
ブロックを省略した場合には、Enumerator を返します。
//emlist[例][ruby]{
IO.write("testfile", "abcdeあ")
File.open("testfile") do |f|
f.each_codepoint { |i| p i }
end
# => 97
# 98
# 99
# 100
# 101
# 12354
//}... -
String
# each _ codepoint -> Enumerator (6102.0) -
文字列の各コードポイントに対して繰り返します。
...ます。
//emlist[例][ruby]{
#coding:UTF-8
"hello わーるど".each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 12431, 12540, 12427, 12393]
"hello わーるど".encode('euc-jp').each_codepoint.to_a
# => [104, 101, 108, 108, 111, 32, 42223, 41404, 42219, 42185]
//}
@see String#codepoints...