1406件ヒット
[201-300件を表示]
(0.113秒)
ライブラリ
- ビルトイン (535)
- bigdecimal (84)
-
cgi
/ core (12) -
cgi
/ html (36) - csv (6)
- date (4)
- drb (24)
-
drb
/ timeridconv (12) - fiddle (48)
- ipaddr (20)
-
irb
/ context (60) -
irb
/ ext / save-history (48) -
irb
/ output-method (12) -
minitest
/ spec (1) - mkmf (24)
-
net
/ imap (36) - openssl (36)
-
rdoc
/ rdoc (12) - resolv (24)
-
rexml
/ document (84) -
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / ultralightparser (12) -
rexml
/ sax2listener (24) -
rinda
/ tuplespace (48) -
rubygems
/ package / tar _ header (12) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ source _ info _ cache _ entry (12) - scanf (36)
- socket (72)
- weakref (36)
クラス
-
ARGF
. class (96) - BasicObject (36)
- BasicSocket (12)
- BigDecimal (84)
- Binding (7)
-
CSV
:: Row (6) -
DRb
:: DRbIdConv (12) -
DRb
:: DRbObject (12) -
DRb
:: TimerIdConv (12) - Data (6)
- Date (2)
- DateTime (2)
-
Fiddle
:: Pointer (48) -
Gem
:: Package :: TarHeader (12) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCache (12) -
Gem
:: SourceInfoCacheEntry (12) - IO (36)
- IPAddr (20)
-
IRB
:: Context (84) -
IRB
:: OutputMethod (12) - MatchData (6)
- Module (193)
-
Net
:: IMAP (36) - Object (36)
-
OpenSSL
:: SSL :: SSLSocket (12) -
OpenSSL
:: X509 :: Store (12) -
OpenSSL
:: X509 :: StoreContext (12) -
RDoc
:: RDoc (12) -
REXML
:: Attribute (12) -
REXML
:: Attributes (12) -
REXML
:: Element (36) -
REXML
:: Entity (12) -
REXML
:: Parsers :: PullEvent (12) -
REXML
:: Parsers :: UltraLightParser (12) - Range (36)
- Refinement (4)
- Regexp (12)
-
Resolv
:: DNS :: Resource :: MX (12) -
Resolv
:: DNS :: Resource :: SOA (12) -
Rinda
:: TupleSpace (48) - Socket (24)
- String (36)
- Struct (24)
- Symbol (18)
- Thread (12)
- Time (2)
- UDPSocket (36)
- WeakRef (36)
モジュール
-
CGI
:: HtmlExtension (36) -
CGI
:: QueryExtension (12) -
IRB
:: HistorySavingAbility (24) - Kernel (36)
-
REXML
:: Namespace (12) -
REXML
:: SAX2Listener (24)
キーワード
- * (12)
- + (12)
- +@ (12)
- -@ (12)
-
/ (12) - === (36)
-
_ _ drbref (12) -
_ _ getobj _ _ (12) -
_ _ setobj _ _ (12) - a (24)
-
abort
_ on _ exception (12) -
add
_ namespace (12) -
alias
_ method (12) - base (12)
- bind (12)
- binmode (12)
- binmode? (12)
- captures (2)
- connect (12)
-
create
_ makefile (12) - deconstruct (14)
-
deconstruct
_ keys (20) -
delete
_ prefix (8) -
delete
_ prefix! (8) -
deprecate
_ constant (12) - div (12)
- document (12)
- encoding (12)
-
end
_ prefix _ mapping (12) - error (24)
-
event
_ type (12) -
history
_ file (12) -
import
_ methods (4) - include? (12)
-
infect
_ with _ assertions (1) -
inplace
_ mode (12) -
inplace
_ mode= (12) -
install
_ files (12) -
instance
_ eval (24) - list (12)
-
load
_ history (12) - lsub (12)
- mask (12)
- member? (12)
- namespace (12)
- notify (12)
- parse (12)
- ppx (12)
- preference (12)
- prefix (44)
- prefixes (24)
- print (12)
- printf (12)
- private (48)
-
prompt
_ c (12) -
prompt
_ i (12) -
prompt
_ mode (12) -
prompt
_ n (12) -
prompt
_ s (12) - protected (48)
- ptr (12)
- public (48)
- putc (12)
- puts (12)
- quo (12)
- read (12)
-
read
_ all (12) - referer (12)
- refine (12)
- refresh (36)
- refresh! (12)
-
save
_ history (24) - scanf (36)
- send (72)
- sign (12)
-
singleton
_ method _ undefined (12) -
source
_ location (7) -
start
_ prefix _ mapping (12) -
start
_ with? (14) - take (12)
-
to
_ a (6) -
to
_ obj (24) -
to
_ proc (12) -
to
_ write _ io (12) - values (6)
-
verify
_ result (12) -
weakref
_ alive? (12) - write (12)
- xlist (12)
検索結果
先頭5件
-
REXML
:: Attributes # prefixes -> [String] (6201.0) -
self の中で宣言されている prefix の集合を 文字列の配列で返します。
...self の中で宣言されている prefix の集合を
文字列の配列で返します。
self が属する要素より上位の要素で定義されているものは含みません。
//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
p doc.root.attributes.prefixes # => ["foo", "bar"]
p a.attributes.prefixes # => []
//}... -
REXML
:: Element # prefixes -> [String] (6201.0) -
self の文脈で定義されている prefix を文字列の配列を返します。
...る prefix を文字列の配列を返します。
対象の要素とその外側の要素で定義されている prefix を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a xmlns:x='1' xmlns:y='2'><b/><c xmlns:z='3'/></a>")
doc.elements['//b'].prefixes # =>... -
REXML
:: Namespace # prefix -> String (6201.0) -
prefix (前置修飾子) を返します。
...prefix (前置修飾子) を返します。
@see REXML::Namespace#prefix=... -
Resolv
:: DNS :: Resource :: MX # preference -> Integer (6201.0) -
このMXレコードの優先度を返します。
このMXレコードの優先度を返します。 -
Resolv
:: DNS :: Resource :: SOA # refresh -> Integer (6201.0) -
プライマリサーバからの更新をセカンダリサーバがチェックする 頻度を秒単位で返します。
プライマリサーバからの更新をセカンダリサーバがチェックする
頻度を秒単位で返します。 -
Fiddle
:: Pointer # -@ -> Fiddle :: Pointer (6108.0) -
自身を指す Pointer オブジェクトを返します。 C 言語におけるポインタへのアドレス演算子の適用 &p と同じです。
...値には、free 関数がセットされず、size は 0 とされます。
例:
require 'fiddle'
s = 'abc'
cptr = Fiddle::Pointer[s]
cref = cptr.ref
p cref.to_s(4).unpack('l*')[0] #=> 136121648
p cptr.to_i #=> 136121648
p cref.ptr.to_s #=> "abc"... -
Refinement
# import _ methods(*modules) -> self (3101.0) -
モジュールからメソッドをインポートします。
...ールからメソッドをインポートします。
Module#includeと違って、import_methods はメソッドをコピーして
refinement に追加して、refinementでインポートしたメソッドを有効化します。
メソッドをコピーするため、Rubyコードで定義さ......mlist[][ruby]{
module StrUtils
def indent(level)
' ' * level + self
end
end
module M
refine String do
import_methods StrUtils
end
end
using M
p "foo".indent(3) # => " foo"
module M
refine String do
import_methods Enumerable
# Can't import method which is not defined wi... -
WeakRef
# _ _ getobj _ _ -> object (3101.0) -
自身の参照先のオブジェクトを返します。
...自身の参照先のオブジェクトを返します。
@raise WeakRef::RefError GC 済みのオブジェクトを参照した場合に発生します。
@see delegate... -
WeakRef
# _ _ setobj _ _ (obj) -> () (3101.0) -
与えられたオブジェクトを自身の参照先としてセットします。 内部用のメソッドなので使わないでください。
与えられたオブジェクトを自身の参照先としてセットします。
内部用のメソッドなので使わないでください。
@param obj 任意のオブジェクトを指定します。 -
Module
# infect _ with _ assertions(positive _ prefix , negative _ prefix , skip _ regexp , map = {}) -> () (301.0) -
BDD 風にテストを書くために使用するメソッド群を定義します。
...風にテストを書くために使用するメソッド群を定義します。
@param positive_prefix assert の代わりのプレフィックスを指定します。
@param negative_prefix refute の代わりのプレフィックスを指定します。
@param skip_regexp この正規表現... -
DRb
:: DRbIdConv # to _ obj(ref) -> Object (202.0) -
識別子をオブジェクトに変換します。
識別子をオブジェクトに変換します。