691件ヒット
[1-100件を表示]
(0.173秒)
ライブラリ
- ビルトイン (184)
- fiddle (22)
-
irb
/ ext / use-loader (22) -
net
/ http (33) - open-uri (22)
- optparse (22)
- pathname (66)
- psych (44)
-
rexml
/ document (22) - set (22)
- shell (24)
-
shell
/ command-processor (12) -
shell
/ filter (12) -
syslog
/ logger (77) - tsort (74)
- uri (33)
クラス
- Array (19)
- Bignum (3)
- Class (11)
-
Fiddle
:: Pointer (22) - Fixnum (3)
- Integer (53)
- Method (11)
- Module (5)
-
Net
:: HTTP (22) - NilClass (11)
- Object (11)
- OptionParser (22)
- Pathname (66)
- Proc (13)
-
Process
:: Status (11) -
Psych
:: Handler (44) -
REXML
:: Text (22) - Set (22)
- Shell (24)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - String (22)
-
Syslog
:: Logger (77) -
URI
:: MailTo (33) - UnboundMethod (11)
モジュール
-
IRB
:: ExtendCommandBundle (22) -
Net
:: HTTPHeader (11) -
OpenURI
:: OpenRead (22) - TSort (74)
キーワード
- -@ (11)
- [] (21)
- add (11)
- alias (11)
- allbits? (7)
- anybits? (7)
- arity (22)
- debug (11)
-
each
_ line (22) -
each
_ strongly _ connected _ component (21) -
each
_ strongly _ connected _ component _ from (21) - error (11)
- fatal (11)
- foreach (18)
- headers (11)
- info (11)
- initialize (11)
- intersection (11)
-
irb
_ load (11) -
irb
_ require (11) - lambda? (11)
- new (11)
- nobits? (7)
-
on
_ head (11) -
on
_ tail (11) - open (44)
- opendir (22)
- out (18)
- pack (19)
- parameters (2)
- post (22)
- pushd (6)
- pushdir (6)
- ref (11)
-
ruby2
_ keywords (5) - scalar (11)
-
set
_ form _ data (11) -
start
_ mapping (11) -
start
_ sequence (11) -
strongly
_ connected _ components (11) - sum (11)
-
to
_ mailtext (11) -
to
_ rfc822text (11) -
to
_ s (11) -
tsort
_ each (21) - unknown (11)
- unpack (11)
- value (11)
- warn (11)
検索結果
先頭5件
-
Bignum
# &(other) -> Fixnum | Bignum (21313.0) -
ビット二項演算子。論理積を計算します。
...ビット二項演算子。論理積を計算します。
@param other 数値
1 & 1 #=> 1
2 & 3 #=> 2... -
Fixnum
# &(other) -> Fixnum | Bignum (21313.0) -
ビット二項演算子。論理積を計算します。
...ビット二項演算子。論理積を計算します。
@param other 数値
1 & 1 #=> 1
2 & 3 #=> 2... -
Integer
# &(other) -> Integer (21213.0) -
ビット二項演算子。論理積を計算します。
...ビット二項演算子。論理積を計算します。
@param other 数値
//emlist[][ruby]{
1 & 1 # => 1
2 & 3 # => 2
//}... -
NilClass
# &(other) -> false (21125.0) -
常に false を返します。
...常に false を返します。
@param other 論理積を行なう式です
//emlist[例][ruby]{
nil & true # => false
nil & false # => false
nil & nil # => false
nil & "a" # => false
//}... -
Process
:: Status # &(other) -> Integer (18223.0) -
self.to_i & other と同じです。 このメソッドは後方互換性のためにあります。
...self.to_i & other と同じです。
このメソッドは後方互換性のためにあります。
@param other 自身との & 演算をしたい整数を指定します。... -
Set
# &(enum) -> Set (18207.0) -
共通部分、すなわち、2つの集合のいずれにも属するすべての要素からなる 新しい集合を作ります。
...@param enum each メソッドが定義されたオブジェクトを指定します。
@raise ArgumentError 引数 enum に each メソッドが定義されていない場合に
発生します。
//emlist[][ruby]{
require 'set'
s1 = Set[10, 20, 30]
s2 = Set[10, 30, 50]
p s1 & s2 #=> #<Set......: {10, 30}>
//}
@see Array#&......: {10, 30}>
//}
@see Array#&, Array#intersection... -
IRB
:: ExtendCommandBundle # irb _ load(*opts , &b) -> nil (9202.0) -
現在の irb に関する IRB::Context に対して irb_load コマンドを実行 します。
...現在の irb に関する IRB::Context に対して irb_load コマンドを実行
します。
@see IRB::ExtendCommand::Load#execute... -
IRB
:: ExtendCommandBundle # irb _ require(*opts , &b) -> bool (9102.0) -
現在の irb に関する IRB::Context に対して irb_require コマンドを 実行します。
...現在の irb に関する IRB::Context に対して irb_require コマンドを
実行します。
@see IRB::ExtendCommand::Require#execute... -
String
# unpack(template) -> Array (6419.0) -
Array#pack で生成された文字列を テンプレート文字列 template にしたがってアンパックし、 それらの要素を含む配列を返します。
...の要素を含む配列を返します。
@param template pack テンプレート文字列
@return オブジェクトの配列
以下にあげるものは、Array#pack、String#unpack
のテンプレート文字の一覧です。テンプレート文字は後に「長さ」を表......字のシステム依存性
各テンプレート文字の説明の中で、
short や long はシステムによらずそれぞれ 2, 4バイトサ
イズの数値(32ビットマシンで一般的なshort, longのサイズ)を意味していま
す。s, S, l, L に対しては直後に _ または......! を "s_" あるいは "s!" のように
続けることでシステム依存の short, long のサイズにすることもできます。
i, I (int)のサイズは常にシステム依存であり、n, N, v, V
のサイズは常にシステム依存ではない(!をつけられない)ことに......を含む配列を返します。
@param template pack テンプレート文字列
@return オブジェクトの配列
以下にあげるものは、Array#pack、String#unpack、String#unpack1
のテンプレート文字の一覧です。テンプレート文字は後に「長さ」... -
Pathname
# each _ line(*args) {|line| . . . } -> nil (6283.0) -
IO.foreach(self.to_s, *args, &block) と同じです。
..., &block) と同じです。
//emlist[例][ruby]{
require "pathname"
IO.write("testfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line
# => #<Enumerator: IO:foreach("testfile")>
//}
//emlist[例 ブロックを指定][ruby]{
require "pathname"
IO.write("testfile", "line1\nline2,\nlin......e3\n")
Pathname("testfile").each_line {|f| p f }
# => "line1\n"
# => "line2,\n"
# => "line3\n"
//}
//emlist[例 limit を指定][ruby]{
require "pathname"
IO.write("testfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line(4) {|f| p f }
# => "line"
# => "1\n"
# => "line"
# => "2,\n"
#......=> "line"
# => "3\n"
//}
//emlist[例 sep を指定][ruby]{
require "pathname"
IO.write("testfile", "line1\nline2,\nline3\n")
Pathname("testfile").each_line(",") {|f| p f }
# => "line1\nline2,"
# => "\nline3\n"
//}
@see IO.foreach... -
Psych
:: Handler # start _ sequence(anchor , tag , implicit , style) -> () (6207.0) -
sequence の開始を見付けたときに呼び出されます。
...sequence の開始を見付けたときに呼び出されます。
anchor には sequence に関連付けられた anchor の名前が文字列で渡されます。
anchor がない場合には nil が渡されます。
tag には sequence に関連付けられた tag の名前が文字列で渡......には nil が渡されます。
implicit には sequence が implicit に開始されたかどうかが
真偽値で渡されます。
style には sequence の style が整数値で渡されます。以下のいずれか
です。
* Psych::Nodes::Sequence::BLOCK
* Psych::Nodes::Sequence::FLO......@param anchor 関連付けられた anchor の名前
@param tag タグ名
@param implicit sequence が implicit に開始されかどうか
@param style sequence のスタイル
=== Example
以下の YAML ドキュメントを例として考えます。
---
- !!seq [
a
]
- &pewpew...