1030件ヒット
[1-100件を表示]
(0.035秒)
別のキーワード
ライブラリ
- ビルトイン (259)
-
cgi
/ core (12) - date (12)
-
irb
/ cmd / help (12) -
irb
/ cmd / load (36) -
irb
/ context (48) - json (72)
- mkmf (12)
- nkf (12)
- pathname (12)
- prime (24)
- rake (24)
-
rexml
/ document (228) -
rubygems
/ gem _ path _ searcher (12) - uri (72)
クラス
-
ARGF
. class (12) - CGI (12)
- Date (12)
- Encoding (24)
- Enumerator (24)
- File (24)
- Float (11)
-
Gem
:: GemPathSearcher (12) - IO (12)
-
IRB
:: Context (48) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Require (12) -
IRB
:: ExtendCommand :: Source (12) - Integer (24)
-
JSON
:: State (24) - Module (24)
- Object (12)
- Pathname (12)
-
Prime
:: EratosthenesGenerator (24) -
REXML
:: CData (12) -
REXML
:: Child (12) -
REXML
:: DocType (12) -
REXML
:: Document (24) -
REXML
:: Element (60) -
REXML
:: Text (60) -
Rake
:: Application (12) -
Rake
:: FileList (12) -
RubyVM
:: InstructionSequence (20) - String (48)
-
URI
:: MailTo (24)
モジュール
- JSON (24)
-
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (12) - Kernel (36)
-
REXML
:: Security (24) - URI (48)
キーワード
- ExternalEntity (12)
-
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 1 . 0 (4) - NKF (12)
- Text (12)
-
add
_ loader (12) -
bigdecimal
/ ludcmp (12) -
bigdecimal
/ newton (12) -
create
_ makefile (12) -
default
_ external (12) -
default
_ external= (12) - dirname (12)
-
drb
/ extservm (12) -
each
_ element _ with _ text (12) -
entity
_ expansion _ text _ limit (24) -
entity
_ expansion _ text _ limit= (24) - execute (48)
- extend (12)
-
extend
_ object (12) - extended (12)
-
external
_ encoding (12) -
external
_ id (12) - extname (12)
- extract (48)
-
from
_ state (12) -
get
_ text (12) - header (12)
-
inplace
_ mode= (12) -
json
_ create (12) -
lib
_ dirs _ for (12) -
load
_ from _ binary _ extra _ data (10) - new (36)
- next (48)
- next! (12)
-
next
_ element (12) -
next
_ float (11) -
next
_ sibling= (12) -
next
_ values (12) -
next
_ year (12) - open (24)
- parser (12)
-
prompt
_ mode (12) -
prompt
_ mode= (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
rubygems
/ ext (12) -
rubygems
/ ext / builder (12) -
rubygems
/ ext / configure _ builder (12) -
rubygems
/ ext / ext _ conf _ builder (12) -
rubygems
/ ext / rake _ builder (12) - state (12)
-
sub
_ ext (12) - succ (36)
- succ! (12)
- text (12)
- text= (12)
-
to
_ binary (10) -
to
_ json (12) -
to
_ mailtext (12) -
to
_ rfc822text (12) -
to
_ s (12) - unnormalize (12)
-
use
_ readline (12) -
use
_ readline? (12) - value (12)
- value= (12)
検索結果
先頭5件
-
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")
RubyVM::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 "
//}...