るりまサーチ

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

別のキーワード

  1. rbconfig ruby
  2. fiddle ruby_free
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

ライブラリ

検索結果

<< 1 2 3 ... > >>

rubygems/ext/ext_conf_builder (38000.0)

extconf.rb を元にして拡張ライブラリをビルドするためのクラスを扱うライブラリです。

...extconf.rb を元にして拡張ライブラリをビルドするためのクラスを扱うライブラリです。...

rubygems/ext (32000.0)

拡張ライブラリをビルドするためのライブラリです。

拡張ライブラリをビルドするためのライブラリです。

rubygems/ext/builder (32000.0)

拡張ライブラリをビルドするためのクラスを扱うライブラリです。

拡張ライブラリをビルドするためのクラスを扱うライブラリです。

rubygems/ext/configure_builder (32000.0)

configure スクリプトを元に拡張ライブラリをビルドするクラスを扱うライブラリです。

configure スクリプトを元に拡張ライブラリをビルドするクラスを扱うライブラリです。

rubygems/ext/rake_builder (32000.0)

Rake を使用して拡張ライブラリをビルドするためのクラスを扱うライブラリです。

Rake を使用して拡張ライブラリをビルドするためのクラスを扱うライブラリです。

絞り込み条件を変える

Rake::FileList#ext(newext = &#39;&#39;) -> Rake::FileList (18235.0)

各要素に String#ext を適用した新しい Rake::FileList を返します。

...各要素に String#ext を適用した新しい Rake::FileList を返します。

//emlist[][ruby]{
# Rakefile での記載例とする

IO.write("test1.rb", "test")
IO.write("test2.rb", "test")

task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb"...
..., "test3.rb")
file_list.ext(".erb") # => ["test1.erb", "test2.erb", "test3.erb"]
end
//}

@see String#ext...

RubyVM::InstructionSequence.load_from_binary_extra_data(binary) -> String (9106.0)

バイナリフォーマットの文字列から埋め込まれたextra_dataを取り出します。

...列から埋め込まれたextra_dataを取り出します。

//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary("extra_data")
Ruby
VM::InstructionSequence.load_from_binary_extra_data(binary) # => extra_data
//}

@see RubyVM::InstructionSequence#to...

REXML::Element#each_element_with_text(text = nil, max = 0, name = nil) {|element| ... } -> () (6206.0)

テキストを子ノードとして 持つすべての子要素を引数としてブロックを呼び出します。

...テキストを子ノードとして
持つすべての子要素を引数としてブロックを呼び出します。

text を指定すると、テキストの内容が text であるもののみを対象とします。
maxを指定すると、対象となる子要素の先頭 max 個のみが対...
...

@param text テキストの中身(文字列)
@param max ブロック呼出の対象とする子要素の最大個数
@param name xpath文字列

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new '<a><b>b</b><c>b</c><d>d</d><e/></a>'
doc.root.each_element_with_text {|e|p e}
#...
...>> <b> ... </>
# >> <c> ... </>
# >> <d> ... </>
doc.root.each_element_with_text('b'){|e|p e}
# >> <b> ... </>
# >> <c> ... </>
doc.root.each_element_with_text('b', 1){|e|p e}
# >> <b> ... </>
doc.root.each_element_with_text(nil, 0, 'd'){|e|p e}
# >> <d> ... </>
//}...

REXML::Element#get_text(path = nil) -> REXML::Text | nil (6206.0)

先頭のテキスト子ノードを返します。

...ext#value も参照してください。

path を渡した場合は、その XPath 文字列で指定される
テキストノードの文字列を返します。

テキストノードがない場合には nil を返します。

@param path XPath文字列
@see REXML::Element#text

//emlist[][ruby...
...]{
require 'rexml/document'
doc = REXML::Document.new "<p>some text <b>this is bold!</b> more text</p>"
# doc.root (<p> ... </p>) は2つのテキストノード("some text " と " more text"
# を持っているが、前者を返す
doc.root.get_text.value # => "some text "
//}...
<< 1 2 3 ... > >>