1825件ヒット
[1-100件を表示]
(0.115秒)
ライブラリ
- ビルトイン (1128)
- date (12)
- delegate (156)
-
irb
/ context (12) - json (96)
- matrix (24)
-
minitest
/ spec (1) -
net
/ imap (36) - openssl (24)
- optparse (36)
- pathname (24)
- prime (72)
-
rdoc
/ code _ object (12) -
rdoc
/ markup (12) -
rexml
/ document (72) -
ripper
/ filter (24) - shell (12)
-
webrick
/ httpauth / authenticator (12) - win32ole (24)
-
yaml
/ dbm (36)
クラス
-
ARGF
. class (72) - Array (127)
- Class (12)
- Data (12)
- Date (12)
- Delegator (120)
- Enumerator (156)
-
Enumerator
:: Chain (21) -
Enumerator
:: Lazy (60) -
Enumerator
:: Yielder (24) - Hash (63)
-
IRB
:: Context (12) -
JSON
:: State (60) - MatchData (12)
- Matrix (24)
- Module (57)
-
Net
:: IMAP :: FetchData (12) -
Net
:: IMAP :: ResponseCode (12) -
Net
:: IMAP :: UntaggedResponse (12) - Object (100)
-
OpenSSL
:: ASN1 :: ASN1Data (12) -
OpenSSL
:: X509 :: Attribute (12) - OptionParser (36)
- Pathname (24)
- Prime (24)
-
Prime
:: PseudoPrimeGenerator (48) -
RDoc
:: CodeObject (12) -
RDoc
:: Markup (12) -
REXML
:: Attribute (12) -
REXML
:: Elements (24) -
REXML
:: Parent (36) - Random (36)
- Range (12)
- Rational (12)
- Regexp (24)
-
Ripper
:: Filter (24) - Shell (12)
- SimpleDelegator (24)
- StopIteration (12)
- String (33)
- Struct (31)
-
WIN32OLE
_ TYPELIB (24) -
YAML
:: DBM (36)
モジュール
キーワード
- << (12)
- <=> (12)
- == (3)
- DelegateClass (12)
- [] (60)
-
_ _ getobj _ _ (24) -
_ _ setobj _ _ (24) - allocate (12)
- attr (12)
- bsearch (24)
-
cofactor
_ expansion (12) - collect (36)
-
const
_ source _ location (12) - convert (12)
- cycle (12)
- data (24)
- deconstruct (3)
-
delete
_ at (12) -
delete
_ if (12) -
deprecate
_ constant (12) - detect (12)
- each (146)
-
each
_ byte (12) -
each
_ char (12) -
each
_ child (12) -
each
_ line (24) -
each
_ with _ object (12) -
enum
_ for (48) - eql? (3)
- evaluate (12)
- feed (12)
-
fetch
_ values (20) - filter (21)
-
filter
_ map (6) - find (12)
-
find
_ all (12) - force (12)
- freeze (12)
- generate (12)
- grep (24)
-
grep
_ v (24) - hash (15)
- index (7)
- inject (12)
- key (12)
-
laplace
_ expansion (12) - logger (12)
- map (24)
-
marshal
_ dump (12) -
marshal
_ load (12) - match (48)
-
max
_ by (24) -
method
_ missing (12) - methods (12)
-
min
_ by (24) -
minmax
_ by (12) -
must
_ match (1) - next (12)
-
next
_ values (12) -
object
_ nl (12) - oid (12)
- on (36)
-
on
_ XXX (12) -
on
_ default (12) - open (24)
- partition (12)
- path (12)
- peek (12)
-
peek
_ values (12) -
private
_ constant (9) -
private
_ instance _ methods (12) -
private
_ methods (12) -
protected
_ methods (12) -
public
_ methods (12) - pushd (6)
- pushdir (6)
- rand (36)
- reject (24)
-
remove
_ const (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) - result (12)
- rewind (7)
- select (60)
-
sort
_ by (12) - string (12)
- then (7)
-
to
_ enum (48) -
to
_ h (12) -
to
_ hash (12) -
to
_ json (12) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ regexp (12) - unpack1 (9)
- value (12)
-
values
_ at (36) - version (12)
-
with
_ index (24) -
with
_ object (48) - write (12)
- yield (12)
-
yield
_ self (8)
検索結果
先頭5件
-
JSON
:: State # object _ nl -> String (21226.0) -
JSON 形式の文字列中に現れる JavaScript のオブジェクトの行末に挿入する文字列を返します。
...on_state = JSON::State.new(object_nl: "")
json_state.object_nl # => ""
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name":"tanaka","age":19}]
json_state = JSON::State.new(object_nl: "\n")
json_state.object_nl # => "\n"
puts JSON.generate([1......, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{
# "name":"tanaka",
# "age":19
# }]
//}... -
Array
# at(nth) -> object | nil (15304.0) -
nth 番目の要素を返します。nth 番目の要素が存在しない時には nil を返します。
...みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby]{
a = [ "a", "b", "c", "d", "e" ]
a[0] #=> "a"
a[1] #=> "b"
a[-1] #=> "e"
a[-2] #=> "d"
a[10] #=> nil
//}... -
Object
# private _ methods(include _ inherited = true) -> [Symbol] (15213.0) -
そのオブジェクトが理解できる private メソッド名の一覧を返します。
...が理解できる private メソッド名の一覧を返します。
@param include_inherited 偽となる値を指定すると自身のクラスのスーパークラスで定義されたメソッドを除きます。
@see Module#private_instance_methods,Object#methods,Object#singleton_methods... -
Object
# must _ match(regexp) -> true (15201.0) -
自身が与えられた正規表現にマッチした場合、検査にパスしたことになります。
...文字列を指定した場合は文字列そのものにマッチする
正規表現に変換してから使用します。
@raise MiniTest::Assertion 自身が与えられた正規表現にマッチしなかった場合に発生します。
@see MiniTest::Assertions#assert_match... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw _ object -> Hash (12208.0) -
生の文字列を格納したハッシュを生成します。
...する場合に使用してください。
require 'json'
"にほんご".encode("euc-jp").to_json_raw_object
# => {"json_class"=>"String", "raw"=>[164, 203, 164, 219, 164, 243, 164, 180]}
"にほんご".encode("euc-jp").to_json # source sequence is illegal/malformed (JSON::GeneratorError)... -
Net
:: IMAP :: FetchData # attr -> { String => object } (9402.0) -
各メッセージのアトリビュートの値をハッシュテーブルで返します。
...::BodyTypeMessage, Net::IMAP::BodyTypeMultipart
のいずれか。
: BODY[<section>]<<partial>>
section で指定されたセクションのボディの内容。文字列。
: BODY.PEEK[<section>]<<partial>>
section で指定されたセクションのメッセージボディの内容。......文字列。
ただしこれで内容を見ても :Seen フラグを設定しない点が
BODY[<section>]と同様
: BODYSTRUCTURE
MIME-IMB でのメッセージボディ。
Net::IMAP::BodyTypeBasic, Net::IMAP::BodyTypeText,
Net::IMAP::BodyTypeMessage, Net::IMAP::BodyTypeMultipar......メッセージにセットされたフラグ。
Symbol の配列。String#capitalize でキャピタライズ
されている。
: INTERNALDATE
メッセージの内部日付。文字列。
: RFC822
BODY[] と同じ。文字列。
: RFC822.HEADER
BODY.PEEK[HEADER] と同じ。... -
Enumerator
# with _ object(obj) -> Enumerator (9316.0) -
繰り返しの各要素に obj を添えてブロックを繰り返し、obj を返り値として返します。
...erator を返します。
//emlist[例][ruby]{
# 0,1,2 と呼びだす enumeratorを作る
to_three = Enumerator.new do |y|
3.times do |x|
y << x
end
end
to_three_with_string = to_three.with_object("foo")
to_three_with_string.each do |x,string|
puts "#{string}: #{x}"
end
# => foo:0
# =>......foo:1
# => foo:2
//}
@param obj 繰り返しの各要素に添えて渡されるオブジェクト
@see Enumerable#each_with_object... -
Enumerator
# with _ object(obj) {|(*args) , memo _ obj| . . . } -> object (9316.0) -
繰り返しの各要素に obj を添えてブロックを繰り返し、obj を返り値として返します。
...erator を返します。
//emlist[例][ruby]{
# 0,1,2 と呼びだす enumeratorを作る
to_three = Enumerator.new do |y|
3.times do |x|
y << x
end
end
to_three_with_string = to_three.with_object("foo")
to_three_with_string.each do |x,string|
puts "#{string}: #{x}"
end
# => foo:0
# =>......foo:1
# => foo:2
//}
@param obj 繰り返しの各要素に添えて渡されるオブジェクト
@see Enumerable#each_with_object... -
Prime
:: PseudoPrimeGenerator # with _ object(obj) -> Enumerator (9310.0) -
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
...bj 任意のオブジェクトを指定します。
@return 最初に与えられたオブジェクトを返します。
@return ブロックを与えられた場合は obj を返します。ブロックを与えられなかった場合は Enumerator を返します。
@see Enumerator#with_object... -
Prime
:: PseudoPrimeGenerator # with _ object(obj) {|prime , obj| . . . } -> object (9310.0) -
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
...bj 任意のオブジェクトを指定します。
@return 最初に与えられたオブジェクトを返します。
@return ブロックを与えられた場合は obj を返します。ブロックを与えられなかった場合は Enumerator を返します。
@see Enumerator#with_object...