るりまサーチ

最速Rubyリファレンスマニュアル検索!
108件ヒット [1-100件を表示] (0.030秒)
トップページ > クエリ:struct[x] > クエリ:content[x]

別のキーワード

  1. struct new
  2. mkmf have_struct_member
  3. struct select
  4. struct members
  5. struct each

ライブラリ

クラス

キーワード

検索結果

<< 1 2 > >>

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

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

...ersion="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#content=(value) (9101.0)

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

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

@param value 新たなデータ(文字列)

REXML::Instruction (6006.0)

XML 処理命令(XML Processing Instruction, XML PI)を表すクラス。

...XML 処理命令(XML Processing Instruction, XML PI)を表すクラス。

XML 処理命令 とは XML 文書中の <? と ?> で挟まれた部分のことで、
アプリケーションへの指示を保持するために使われます。

XML 宣言(文書先頭の <?xml version=... ?>)はXML処...
...equire '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=\"style.css\""
//}...

REXML::Instruction.new(target, content = nil) -> REXML::Instruction (3207.0)

新たな Instruction オブジェクトを生成します。

...新たな Instruction オブジェクトを生成します。

@param target ターゲット
@param content 内容...

REXML::Instruction#==(other) -> bool (3006.0)

other と self が同じ 処理命令である場合に真を返します。

...other と self が同じ 処理命令である場合に真を返します。

同じとは、 REXML::Instruction#target と REXML::Instruction#content
が一致することを意味します。

@param other 比較対象...

絞り込み条件を変える

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

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

...quire '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=\"style.css\""
//}...

ruby 1.6 feature (48.0)

ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。

...ruby 1.6.4 (2001-06-04) [i586-linux]
Content
-Type: text/plain; charset=iso-8859-1
^M
TEXT_PLAIN: text/plain; charset=iso-8859-1
TEXT_PLAIN: text/plain

=> ruby 1.6.5 (2001-09-19) [i586-linux]
Content
-Type: text/plain; charset=iso-8859-1...
...puts md

puts MD5.hexdigest("123")

: ((<Struct>))

フリーズされた構造体オブジェクトが変更できていました。また、$SAFE =
4 のときの変更を禁止するようにしました。((<ruby-talk:19167>))

cat = Struct.new("Cat", :name, :age, :life)
a = cat....
...p a
=> ruby 1.6.4 (2001-06-04) [i586-linux]
#<Struct::Cat name="dog", age=12, life=7>
=> ruby 1.6.4 (2001-08-06) [i586-linux]
-:4:in `name=': can't modify frozen Struct (TypeError)
from -:4

cat = Struct.new("Cat", :name, :age, :life)
a = cat.new("cat", 12,...

ruby 1.8.2 feature (30.0)

ruby 1.8.2 feature ruby 1.8.2 での ruby 1.8.1 からの変更点です。

...quest [lib] [new]
new methods. accept, accept_charset, accept_encoding, accept_language,
content
_length and content_type.

: WEBrick::HTTPResponse#content_length= [lib] [new]
: WEBrick::HTTPResponse#content_type= [lib] [new]
: WEBrick::HTTPUtils.parse_qvalues [lib] [new]
: WEBrick::HTTPServer#v...
...tual_host [lib] [new]
: WEBrick::HTTPServer#lookup_server [lib] [new]
: WEBrick::HTTPServlet::FileHandler#get_servlet [lib] [new]

=== 2004-09-03
: Struct.new [ruby] [bug]
同じ名前で二度定義したときのバグを修正しました。((<ruby-dev:24210>))

=== 2004-08-24
: CGI::Session::...

ruby 1.9 feature (30.0)

ruby 1.9 feature ruby version 1.9.0 は開発版です。 以下にあげる機能は将来削除されたり互換性のない仕様変更がなされるかもしれません。 1.9.1 以降は安定版です。 バグ修正がメインになります。

...?)
* [obsolete]: 廃止された(される予定の)機能
* [platform]: 対応プラットフォームの追加

== 1.9.0

=== 2006-09-16

: Struct#inspect

=== 2006-09-14

: digest.rb
: Digest::Base.file

=== 2006-09-13

: Hash#compare_by_identity
: Hash#compare_by_identity?
: Hash#identical...
...: Net::HTTPHeader#content_length= [lib] [new]
: Net::HTTPHeader#content_type [lib] [new]
: Net::HTTPHeader#main_type [lib] [new]
: Net::HTTPHeader#sub_type [lib] [new]
: Net::HTTPHeader#type_params [lib] [new]
: Net::HTTPHeader#content_type= [lib] [new]
: Net::HTTPHeader#set_content_type [lib] [new]...
<< 1 2 > >>