4236件ヒット
[1-100件を表示]
(0.093秒)
別のキーワード
ライブラリ
- ビルトイン (451)
- abbrev (12)
- bigdecimal (312)
-
bigdecimal
/ util (43) - csv (543)
- digest (84)
- erb (96)
- fiber (8)
- fiddle (12)
-
fiddle
/ import (12) -
irb
/ cmd / load (12) - json (120)
-
json
/ add / bigdecimal (12) -
json
/ add / exception (12) - kconv (12)
- logger (72)
- matrix (74)
- mkmf (24)
- monitor (4)
-
net
/ http (168) - open-uri (12)
- openssl (272)
- optparse (384)
- ostruct (19)
- pathname (217)
- pp (4)
- prime (36)
-
rake
/ packagetask (48) - resolv (12)
-
rexml
/ document (504) - rubygems (12)
-
rubygems
/ custom _ require (12) -
rubygems
/ requirement (84) -
rubygems
/ specification (24) - set (113)
- socket (48)
- stringio (122)
- strscan (180)
- thread (14)
- win32ole (12)
- zlib (24)
クラス
- Addrinfo (12)
- Array (57)
- BasicSocket (36)
- BigDecimal (324)
- CSV (108)
-
CSV
:: Row (111) -
CSV
:: Table (324) - Class (12)
-
Digest
:: Base (84) - ERB (96)
- Enumerator (24)
- Exception (36)
- Fiber (12)
-
Fiddle
:: Pointer (12) - Float (24)
-
Gem
:: Requirement (84) -
Gem
:: Specification (24) -
IRB
:: ExtendCommand :: Require (12) - Integer (24)
-
JSON
:: Parser (12) -
JSON
:: State (48) - Logger (72)
- Matrix (62)
-
Matrix
:: LUPDecomposition (12) - Monitor (4)
-
Net
:: HTTPGenericRequest (60) -
Net
:: HTTPResponse (48) - NilClass (7)
- Object (34)
-
OpenSSL
:: BN (260) - OpenStruct (19)
- OptionParser (300)
- Pathname (217)
- Prime (24)
-
REXML
:: Attribute (36) -
REXML
:: Attributes (144) -
REXML
:: DocType (36) -
REXML
:: Element (192) -
REXML
:: Elements (96) -
Rake
:: PackageTask (48) - Range (40)
- Rational (12)
-
Resolv
:: DNS :: Name (12) -
RubyVM
:: InstructionSequence (24) - Set (95)
- String (24)
- StringIO (122)
- StringScanner (180)
-
Thread
:: Queue (38) -
Thread
:: SizedQueue (36) - UnboundMethod (12)
-
WIN32OLE
_ TYPE (12) -
Zlib
:: GzipWriter (24)
モジュール
- Enumerable (194)
-
Fiddle
:: Importer (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) - Kernel (84)
-
Net
:: HTTPHeader (60) -
OpenURI
:: Meta (12) -
OptionParser
:: Arguable (84)
キーワード
- % (12)
- << (24)
- <=> (12)
- == (93)
- === (48)
- =~ (12)
- >> (12)
- JSON (12)
- [] (72)
- []= (12)
-
_ dump (12) - abbrev (12)
- abs (12)
- absolute? (12)
- add (12)
-
add
_ attribute (24) -
add
_ attributes (12) - all? (32)
-
allow
_ nan? (12) - antisymmetric? (7)
- any? (32)
- attribute (12)
-
attribute
_ of (12) -
attributes
_ of (12) -
backtrace
_ locations (12) -
base
_ uri (12) - basename (12)
-
basic
_ auth (12) -
beginning
_ of _ line? (12) - bind (12)
- binread (12)
-
bit
_ set? (12) - body (24)
-
body
_ stream (12) -
body
_ stream= (12) - bol? (12)
-
by
_ col (12) -
by
_ col! (12) -
by
_ col _ or _ row (12) -
by
_ col _ or _ row! (12) -
by
_ row (12) -
by
_ row! (12) - bytes (14)
- ceil (24)
-
check
_ circular? (12) - chunked? (12)
-
clear
_ bit! (12) - close (12)
- closed? (12)
- cmp (12)
- coerce (24)
-
cofactor
_ expansion (12) -
connect
_ from (12) - cover? (19)
- debug? (12)
- deconstruct (3)
-
def
_ class (12) -
def
_ method (12) -
def
_ module (12) -
default
_ event _ sources (12) - delete (48)
-
delete
_ all (12) -
delete
_ attribute (12) -
delete
_ element (12) -
delete
_ if (24) - deq (24)
- digest (12)
- digest! (12)
- disjoint? (9)
- divmod (12)
-
do
_ not _ reverse _ lookup (12) - each (72)
-
each
_ attribute (12) -
each
_ byte (24) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) -
each
_ with _ index (24) - empty? (44)
- entity (12)
- entries (19)
- eos? (12)
- eql? (24)
- error? (12)
- exact? (12)
- execute (12)
- fatal? (12)
- field (12)
- field? (12)
-
field
_ row? (12) -
field
_ size _ limit (12) - filename (12)
- filename= (12)
- finish (12)
-
first
_ lineno (12) - floor (24)
- fnmatch (12)
-
force
_ quotes? (12) - formatter (12)
- gem (12)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ byte (12) -
get
_ text (12) - getbyte (24)
- getch (12)
- getopts (12)
- glob (16)
-
has
_ elements? (12) -
have
_ framework (24) - header? (12)
-
header
_ row? (24) - headers (12)
- hexdigest (12)
- hexdigest! (12)
- include? (21)
- info? (12)
- inspect (24)
- iseuc (12)
- j (12)
- jj (12)
-
json
_ creatable? (12) - key? (12)
-
laplace
_ expansion (12) - length (24)
- load (12)
-
local
_ address (12) - lshift! (12)
-
mask
_ bits! (12) - match? (12)
- matched? (12)
-
matched
_ size (12) - member? (9)
-
mod
_ add (12) -
mod
_ exp (12) -
mod
_ inverse (12) -
mod
_ mul (12) -
mod
_ sub (12) - mode (12)
- modulo (12)
- mountpoint? (12)
- namespace (24)
- namespaces (24)
-
need
_ tar (12) -
need
_ tar _ bz2 (12) -
need
_ tar _ gz (12) -
need
_ zip (12) - negative? (8)
-
next
_ element (12) - none? (44)
- nonzero? (12)
-
num
_ bits (12) -
num
_ bytes (12) -
object
_ nl (12) - on (144)
-
on
_ head (12) -
on
_ tail (12) - one? (32)
- order (48)
- order! (48)
- pack (21)
- parse (12)
- parse! (12)
- peek (12)
- peep (12)
- permute (24)
- permute! (24)
- pop (24)
- prefix (12)
- prefixes (24)
- prerelease? (12)
-
pretty
_ print (16) - prime? (12)
-
prime
_ fasttest? (12) - print (12)
- printf (12)
-
proper
_ subset? (9) -
proper
_ superset? (9) -
proxy
_ basic _ auth (12) - public (12)
- push (12)
- puts (12)
- read (12)
-
read
_ body (24) - readbyte (12)
- readlines (12)
- real? (12)
- realdirpath (12)
- realpath (12)
- regular? (12)
- relative? (12)
-
relative
_ path _ from (12) - remainder (12)
-
remote
_ address (12) -
request
_ body _ permitted? (12) -
required
_ ruby _ version (12) -
required
_ rubygems _ version (12) -
response
_ body _ permitted? (12) - rest? (12)
- result (12)
-
return
_ headers? (12) - root? (12)
- round (36)
- rshift! (12)
- run (12)
- sample (24)
-
satisfied
_ by? (12) -
scan
_ full (12) -
search
_ full (12) -
set
_ bit! (12) - shift (24)
- sign (12)
- size (36)
-
skew
_ symmetric? (7) -
skip
_ blanks? (12) - solve (12)
-
source
_ location (12) -
space
_ before (12) - specific? (12)
- split (12)
- src (12)
- sub (24)
-
sub
_ ext (12) -
sub
_ type (12) -
subdomain
_ of? (12) - subset? (9)
- subtract (9)
- superset? (9)
- text (12)
- then (14)
-
to
_ a (67) -
to
_ bn (12) -
to
_ csv (12) -
to
_ d (43) -
to
_ h (19) -
to
_ json (36) -
to
_ s (60) -
to
_ set (18) -
to
_ string (12) -
to
_ value (12) - transfer (12)
- truncate (24)
- ucmp (12)
-
unconverted
_ fields? (12) - unpack (12)
-
values
_ at (12) -
wait
_ for _ cond (4) - warn? (12)
-
with
_ index (24) - write (12)
-
write
_ headers? (12) - xpath (12)
-
yield
_ self (16) - zero? (12)
検索結果
先頭5件
-
RubyVM
:: InstructionSequence # to _ a -> Array (29131.0) -
self の情報を 14 要素の配列にして返します。
...:local_size: ローカル変数の総数 + 1。
:stack_max: スタックの深さ。(SystemStackError を検出するために使用)
: #label
メソッド名、クラス名、モジュール名などで構成される命令シーケンスのラ
ベル。トップレベルでは "<ma......合は "<compiled>"。
: #absolute_path
命令シーケンスの絶対パス。文字列から作成していた場合は nil。
: #first_lineno
命令シーケンスの 1 行目の行番号。
: type
命令シーケンスの種別。
:top、:method、:block、:class、:rescue、:ensur......数名からなる Symbol の配列。
: args
引数の指定が必須のメソッド、ブロックの引数の個数。あるいは以下のよう
な配列。
[required_argc, [optional_arg_labels, ...],
splat_index, post_splat_argc, post_splat_index,
block_index, simple]... -
RubyVM
:: InstructionSequence # first _ lineno -> Integer (29113.0) -
self が表す命令シーケンスの 1 行目の行番号を返します。
...ンスの 1 行目の行番号を返します。
例1:irb で実行した場合
RubyVM::InstructionSequence.compile('num = 1 + 2').first_lineno
# => 1
例2:
# /tmp/method.rb
require "foo-library"
def foo
p :foo
end
RubyVM::InstructionSequence.of(method(:foo)).first_lineno
#... -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (24635.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
...この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。... -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (24601.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
...この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。... -
Kernel
# require(path) -> bool (18352.0) -
RubyGems を require すると、Kernel#require が Gem を 要求されたときにロードするように置き換えます。
...
RubyGems を require すると、Kernel#require が Gem を
要求されたときにロードするように置き換えます。
再定義された Kernel#require を呼び出すと以下の事を行います。
Ruby のロードパスに存在するライブラリを指定した場合はその... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (9319.0) -
各属性に対しブロックを呼び出します。
...。
個々の属性は REXML::Attribute オブジェクトで渡されます。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a =......doc.get_elements("/root/a").first
a.attributes.each_attribute do |attr|
p [attr.namespace, attr.name, attr.value]
end
# => ["http://example.org/foo", "att", "1"]
# => ["http://example.org/bar", "att", "2"]
# => ["", "att", "<"]
//}... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (9319.0) -
name という名前の属性を取得します。
...:Attributes#[]
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
a.attributes.get_attribute("a......tt") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (9319.0) -
namespace と name で特定される属性を返します。
...列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
a.attributes.get_attribute_ns("", "att")......# => att='<'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "attt") # => nil
//}... -
Pathname
# basename(suffix = "") -> Pathname (6375.0) -
Pathname.new(File.basename(self.to_s, suffix)) と同じです。
...le.basename(self.to_s, suffix)) と同じです。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
//emlist[例][ruby]{......Pathname("ruby/ruby.c").basename #=> #<Pathname:"ruby.c">
Pathname("ruby/ruby.c").basename(".c") #=> #<Pathname:"ruby">
Pathname("ruby/ruby.c").basename(".*") #=> #<Pathname:"ruby">
Pathname("ruby/ruby.exe").basename(".*") #=> #<Pathname:"ruby">
Pathname("ruby/y.tab.c").basename(".*......") #=> #<Pathname:"y.tab">
//}
@see File.basename...