るりまサーチ

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

別のキーワード

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

ライブラリ

クラス

モジュール

キーワード

検索結果

RDoc::Options#css -> String (21202.0)

コマンドライン引数の --style オプションで指定した URL を文字列で返しま す。

...コマンドライン引数の --style オプションで指定した URL を文字列で返しま
す。...

REXML::StreamListener#instruction(name, instruction) -> () (9225.0)

XML処理命令(PI)をパースしたときに呼び出されるコールバックメソッドです。

...文字列で渡されます
@param instruction 処理命令の内容が文字列で渡されます

=== 例
<?xml-stylesheet type="text/css" href="style.css"?>
というPIに対し
name: "xml-stylesheet"
instruction: " type=\"text/css\" href=\"style.css\""
という引数が渡されます。...

REXML::Instruction#content -> String | nil (6125.0)

XML 処理命令の内容を返します。

...ist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\"...
...href=\"style.css\""
doc[4].target # => "foobar"
doc[4].content # => nil
//}...

REXML::Instruction#target -> String (6125.0)

XML 処理命令のターゲットを返します。

...ist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\" href=\"sty...
...le.css\""
//}...