るりまサーチ

最速Rubyリファレンスマニュアル検索!
13873件ヒット [1-100件を表示] (0.195秒)

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

FileUtils#ruby(*args) {|result, status| ... } (27330.0)

与えられた引数で Ruby インタプリタを実行します。

...与えられた引数で Ruby インタプリタを実行します。

@param args Ruby インタプリタに与える引数を指定します。

例:
ruby
%{-pe '$_.upcase!' <README}

@see Kernel.#sh...

Gem::Commands::UpdateCommand#do_rubygems_update(version) (21301.0)

RubyGems 自体を更新します。

...
Ruby
Gems 自体を更新します。...

String#b -> String (21214.0)

self の文字エンコーディングを ASCII-8BIT にした文字列の複製を返します。

...self の文字エンコーディングを ASCII-8BIT にした文字列の複製を返します。

//emlist[例][ruby]{
'abc123'.encoding # => #<Encoding:UTF-8>
'abc123'.b.encoding # => #<Encoding:ASCII-8BIT>
//}...

REXML::Attributes#each_attribute {|attribute| ... } -> () (18407.0)

各属性に対しブロックを呼び出します。

...ML::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='&lt;'/>
</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", "<"]
//}...

Gem::Specification#to_ruby -> String (18318.0)

自身を再現するための Ruby スクリプトを文字列で返します。

...自身を再現するための Ruby スクリプトを文字列で返します。

省略されている値はデフォルト値が使用されます。...

絞り込み条件を変える

Psych::Nodes::Node#to_ruby -> object (18318.0)

AST を ruby のオブジェクトに変換します。

...AST ruby のオブジェクトに変換します。...

Rake::TestTask#ruby_opts -> Array (18318.0)

テスト実行時に Ruby コマンドに渡されるオプションを返します。

...テスト実行時に Ruby コマンドに渡されるオプションを返します。...

Rake::TestTask#ruby_opts=(options) (18318.0)

テスト実行時に Ruby コマンドに渡されるオプションをセットします。

...テスト実行時に Ruby コマンドに渡されるオプションをセットします。

@param options 配列でオプションを指定します。...

REXML::Attributes#get_attribute(name) -> Attribute | nil (18307.0)

name という名前の属性を取得します。

...ttributes#[]

//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='&lt;'/>
</root>
EOS
a = doc.get_elements("/root/a").first

a.attributes.get_attribute("att...
...") # => att='&lt;'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}...
<< 1 2 3 ... > >>