種類
- インスタンスメソッド (154)
- 特異メソッド (44)
- 文書 (33)
- ライブラリ (11)
ライブラリ
-
cgi
/ session (22) -
cgi
/ session / pstore (11) - psych (11)
-
rexml
/ document (132) - socket (22)
クラス
- BasicSocket (22)
-
CGI
:: Session (11) -
CGI
:: Session :: FileStore (11) -
CGI
:: Session :: PStore (11) -
Psych
:: Nodes :: Document (11) -
REXML
:: Attribute (22) -
REXML
:: Attributes (33) -
REXML
:: Element (77)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (4) -
add
_ namespace (22) - attribute (11)
-
delete
_ namespace (11) -
get
_ attribute _ ns (11) - namespace (22)
- namespaces (22)
- prefixes (22)
-
rexml
/ parsers / sax2parser (11) -
ruby 1
. 6 feature (11) - setsockopt (22)
検索結果
先頭5件
-
NEWS for Ruby 2
. 5 . 0 (26078.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.5.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......Dir.glob :base というキーワード引数を追加しました 13056
* Dir.chdir (ブロックなしで呼び出した場合), Dir.open, Dir.new, Dir.mkdir, Dir.rmdir,
Dir.empty? はGVLを解放するようになりました
* Dir.children を追加 11302
* Dir.each_child を......しました
13312
* String#start_with? は正規表現を受け取れるようになりました 13712
* String#delete_prefix, String#delete_prefix! を追加 12694
* String#delete_suffix, String#delete_suffix! を追加 13665
* String#each_grapheme_cluster, String#grapheme_cl... -
NEWS for Ruby 3
. 0 . 0 (26066.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 3.0.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......s: Read ENV names and values as UTF-8 encoded Strings 12650
* Encoding
* Added new encoding IBM720. 16233
* Changed default for Encoding.default_external to UTF-8 on Windows 16604
* Fiber
* Fiber.new(blocking: true/false) allows you to create non-blocking execution contexts. 16786......* String#*
* String#capitalize
* String#center
* String#chomp
* String#chop
* String#delete
* String#delete_prefix
* String#delete_suffix
* String#downcase
* String#dump
* String#each_char
* String#each_grapheme_cluster
* Str... -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (24362.0) -
1.6.8から1.8.0への変更点(まとめ) * ((<1.6.8から1.8.0への変更点(まとめ)/インタプリタの変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたクラス/モジュール>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたメソッド>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加された定数>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張されたクラス/メソッド(互換性のある変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/変更されたクラス/メソッド(互換性のない変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/文法の変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/正規表現>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Marshal>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Windows 対応>)) * ((<1.6.8から1.8.0への変更点(まとめ)/廃止された(される予定の)機能>)) * ((<1.6.8から1.8.0への変更点(まとめ)/ライブラリ>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張ライブラリAPI>)) * ((<1.6.8から1.8.0への変更点(まとめ)/バグ修正>)) * ((<1.6.8から1.8.0への変更点(まとめ)/サポートプラットフォームの追加>))
...スのスーパークラスは同じなのだそうです
((<ruby-bugs-ja:324>))。さあっぱりわかりません(^^;;
class << Object.new
class << self.superclass
p [self.id, self]
end
class << self
p [self.superclass.id, self.supe......けるのに疲れたらしい
^^;;)
: ((<Proc/Proc.new>)) [change]
: ((<組み込み関数/lambda>)) [change]
: ((<組み込み関数/proc>)) [change]
以下のように変更されました。((<ruby-dev:20358>))
* Proc.new およびブロック引数で与えられる Proc は......テラル>)) [compat]
10進((*整数*))リテラルの prefix として 0d が追加されました。
8進リテラルの prefix として 0 以外に 0o が追加されました。
Integer(), String#to_i、String#oct もこの prefix を認識します。
: ((<メソッド引数の & 修... -
ruby 1
. 6 feature (23336.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...00019>))
: 2002-09-11: Queue#((<Queue/pop>))
Queue#pop に競合状態の問題がありました ((<ruby-dev:17223>))
: 2002-09-11: SizedQueue.new
引数に 0 以下を受けつけるバグが修正されました。
: 2002-09-05: ((<リテラル/式展開>))
stable snapshot で、一......フォルト値 (((<Hash/default>))) も == で等しい
ときに等しいとみなされるようになりました。
p Hash.new("foo") == Hash.new("bar")
=> ruby 1.6.7 (2002-03-01) [i586-linux]
true
=> ruby 1.6.7 (2002-08-21) [i586-linux]
false......use a new algorithm to locate a library.
Now when requiring "foo", the following directories are searched for
the library in the order listed.
$prefix/lib/ruby/site_ruby/$ver/foo.rb
$prefix/lib/ruby/site_ruby/$ver/foo.so
$prefix/lib/ruby/site_ruby/$ver/$arch/foo.rb
$prefix/lib/... -
REXML
:: Attribute # prefix -> String (18131.0) -
属性の名前空間を返します。
...ment'
e = REXML::Element.new( "elns:myelement" )
e.add_attribute( "nsa:a", "aval" )
e.add_attribute( "b", "bval" )
p e.attributes.get_attribute( "a" ).prefix # -> "nsa"
p e.attributes.get_attribute( "b" ).prefix # -> "elns"
a = REXML::Attribute.new( "x", "y" )
p a.prefix... -
CGI
:: Session . new(request , option = {}) -> CGI :: Session (18125.0) -
セッションオブジェクトを新しく作成し返します。
...ョンを指定するとリクエストにセッション ID が含まれても無視します。
(default: ランダムに生成されます)
: new_session
値が true のときは強制的に新しいセッションを始めます。
値が false のときは、リクエストにセッ......FileStore がセッションデータを作成するディレクトリの名前を指定します。
デフォルトは Dir.tmpdir です。
: prefix
CGI::Session::FileStore がセッションデータのファイル名に与えるプレフィックス。
(default: "")
: suffix
CGI......ンデータのファイル名に与えるサフィックス。
(default: "")
: no_hidden
真を指定すると @output_hidden が nil になります。
: no_cookies
真を指定すると @output_cookies が nil になります。
例:
CGI::Session.new(cgi, {"new_session" => true})... -
Psych
:: Nodes :: Document . new(version=[] , tag _ directives=[] , implicit=false) -> Psych :: Nodes :: Document (18113.0) -
Document オブジェクトを生成します。
...[major, minor] という配列で指定します。
tag_directives には tag directive の配列を指定します。
それぞれの tag は [prefix, suffix] という文字列の配列で
表現します。
implicit にはドキュメントが implicit に始まっているかどうかを
真......YAML 1.1 のドキュメントで、
tag directive を1つ持ち、 implicit にドキュメントが開始
している Document オブジェクトを生成しています。
Psych::Nodes::Document.new(
[1,1],
tenderlovemaking.com,2009:",
true)
@see Psych::Handler#start_document... -
CGI
:: Session :: FileStore . new(session , option = {}) -> CGI :: Session :: FileStore (18107.0) -
自身を初期化します。
...: tmpdir
セッションデータを作成するディレクトリの名前を指定します。
デフォルトは Dir.tmpdir です。
: prefix
セッションデータのファイル名に与えるプレフィックスを指定します。
デフォルトは空文字列です。... -
CGI
:: Session :: PStore . new(session , option = {}) -> CGI :: Session :: FileStore (18107.0) -
自身を初期化します。
...: tmpdir
セッションデータを作成するディレクトリの名前を指定します。
デフォルトは Dir.tmpdir です。
: prefix
セッションデータのファイル名に与えるプレフィックスを指定します。
デフォルトは空文字列です。... -
REXML
:: Element # prefixes -> [String] (6128.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
:: Attributes # prefixes -> [String] (6122.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 # => []
//}...