505件ヒット
[101-200件を表示]
(0.058秒)
ライブラリ
- ビルトイン (175)
- json (33)
- objspace (22)
- resolv (99)
-
rexml
/ document (44) -
rexml
/ parsers / pullparser (11) -
rexml
/ parsers / sax2parser (11) -
rexml
/ parsers / streamparser (11) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache _ entry (11) - socket (11)
- win32ole (22)
クラス
-
Encoding
:: Converter (121) -
Gem
:: SourceIndex (11) -
Gem
:: SourceInfoCacheEntry (11) -
JSON
:: Parser (33) - Method (21)
-
REXML
:: AttlistDecl (11) -
REXML
:: DocType (11) -
REXML
:: Document (22) -
REXML
:: Parsers :: PullParser (11) -
REXML
:: Parsers :: SAX2Parser (11) -
REXML
:: Parsers :: StreamParser (11) -
Resolv
:: DNS :: Resource :: HINFO (11) -
Resolv
:: DNS :: Resource :: IN :: A (11) -
Resolv
:: DNS :: Resource :: IN :: AAAA (11) -
Resolv
:: DNS :: Resource :: IN :: SRV (11) -
Resolv
:: DNS :: Resource :: IN :: WKS (11) -
Resolv
:: DNS :: Resource :: MINFO (11) -
Resolv
:: DNS :: Resource :: MX (11) -
Resolv
:: DNS :: Resource :: SOA (11) -
Resolv
:: DNS :: Resource :: TXT (11) -
RubyVM
:: InstructionSequence (22) -
Socket
:: UDPSource (11) -
WIN32OLE
_ TYPE (22)
モジュール
- ObjectSpace (22)
キーワード
-
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) - UndefinedConversionError (11)
-
allocation
_ sourcefile (11) -
allocation
_ sourceline (11) - compile (11)
- convert (11)
-
default
_ event _ sources (11) - inspect (5)
- irb (11)
- parse (11)
-
parse
_ stream (11) -
primitive
_ convert (44) -
primitive
_ errinfo (11) - rdoc (11)
- rss (11)
-
search
_ convpath (11) -
source
_ encoding (11) -
source
_ location (11) -
source
_ ole _ types (11) -
to
_ s (5)
検索結果
先頭5件
- Resolv
:: DNS :: Resource :: MX . new(preference , exchange) -> Resolv :: DNS :: Resource :: MX - Resolv
:: DNS :: Resource :: SOA . new(mname , rname , serial , refresh , retry _ , expire , minimum) -> Resolv :: DNS :: Resource :: SOA - Resolv
:: DNS :: Resource :: TXT . new(first _ string , *rest _ strings) -> Resolv :: DNS :: Resource :: TXT - Socket
:: UDPSource . new(remote _ addr , local _ addr) {|msg| . . . } -> Socket :: UDPSource - REXML
:: DocType . new(source , parent = nil) -> REXML :: DocType
-
Resolv
:: DNS :: Resource :: MX . new(preference , exchange) -> Resolv :: DNS :: Resource :: MX (21201.0) -
Resolv::DNS::Resource::MX のインスタンスを返します。
...Resolv::DNS::Resource::MX のインスタンスを返します。
@param preference MXの優先度
@param exchange MXのホスト... -
Resolv
:: DNS :: Resource :: SOA . new(mname , rname , serial , refresh , retry _ , expire , minimum) -> Resolv :: DNS :: Resource :: SOA (21201.0) -
Resolv::DNS::Resource::SOA のインスタンスを生成して返します。
...Resolv::DNS::Resource::SOA のインスタンスを生成して返します。
@param mname 対象のゾーンのマスターゾーンファイルが存在するホスト名
@param rname 対象のドメイン名の管理者名
@param serial ゾーンファイルのバージョン
@param refresh プ... -
Resolv
:: DNS :: Resource :: TXT . new(first _ string , *rest _ strings) -> Resolv :: DNS :: Resource :: TXT (21201.0) -
Resolv::DNS::Resource::TXTのインスタンスを生成します。
...Resolv::DNS::Resource::TXTのインスタンスを生成します。
@param first_string レコードの最初の文字列
@param rest_strings レコードの残りの文字列... -
Socket
:: UDPSource . new(remote _ addr , local _ addr) {|msg| . . . } -> Socket :: UDPSource (21201.0) -
Socket::UDPSource オブジェクトを生成します。
...Socket::UDPSource オブジェクトを生成します。
このメソッドはユーザは直接使いません。Socket.udp_server_loop が
内部で用います。
@param remote_addr リモートのアドレス(Addrinfo オブジェクト)
@param local_addr ローカルのアドレス(Addrinfo... -
REXML
:: DocType . new(source , parent = nil) -> REXML :: DocType (18238.0) -
DocType オブジェクトを生成します。
...を生成します。
REXML::Source オブジェクトの場合は、Source オブジェクトが
保持しているDTDのテキストがパースされ、その内容によって DocType
オブジェクトが初期化されます。
REXML::DocType.new(Source.new(<<EOS))
<!DOCTYPE html PUBLIC "......スもありますが、内部用なので使わないで
ください。
一般的にいって、XML 文書に含まれる DTD は REXML::Document.new などで
適切に解析され、REXML::Document#doctype で取得できます。
このメソッドを直接使う必要はありません。... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding) -> Encoding :: Converter (18235.0) -
Encoding::Converter オブジェクトを作成します。
...Encoding::Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options......onverter::UNDEF_REPLACE
* Encoding::Converter::UNDEF_HEX_CHARREF
* Encoding::Converter::UNIVERSAL_NEWLINE_DECORATOR
* Encoding::Converter::CRLF_NEWLINE_DECORATOR
* Encoding::Converter::CR_NEWLINE_DECORATOR
* Encoding::Converter::XML_TEXT_DECORATOR
* Encoding::Converter::XML_ATTR_CONTENT_......oding::Converter.new("UTF-16BE", "UTF-8")
# Usually, decorators such as newline conversion are inserted last.
ec = Encoding::Converter.new("UTF-16BE", "UTF-8", :universal_newline => true)
p ec.convpath #=> [[#<Encoding:UTF-16BE>, #<Encoding:UTF-8>],
# "universal_newline"]
# But, i... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding , options) -> Encoding :: Converter (18235.0) -
Encoding::Converter オブジェクトを作成します。
...Encoding::Converter オブジェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options......onverter::UNDEF_REPLACE
* Encoding::Converter::UNDEF_HEX_CHARREF
* Encoding::Converter::UNIVERSAL_NEWLINE_DECORATOR
* Encoding::Converter::CRLF_NEWLINE_DECORATOR
* Encoding::Converter::CR_NEWLINE_DECORATOR
* Encoding::Converter::XML_TEXT_DECORATOR
* Encoding::Converter::XML_ATTR_CONTENT_......oding::Converter.new("UTF-16BE", "UTF-8")
# Usually, decorators such as newline conversion are inserted last.
ec = Encoding::Converter.new("UTF-16BE", "UTF-8", :universal_newline => true)
p ec.convpath #=> [[#<Encoding:UTF-16BE>, #<Encoding:UTF-8>],
# "universal_newline"]
# But, i... -
JSON
:: Parser . new(source , options => {}) -> JSON :: Parser (18226.0) -
パーサを初期化します。
...ルトは Array です。
@param source パーサの元となる文字列を指定します。
@param options オプションを指定するためのハッシュです。
//emlist[例][ruby]{
require 'json'
parser = JSON::Parser.new(DATA.read)
print parser.source
# => {
# => "Tanaka": {
# =>......'json'
class Person
attr_accessor :name, :age
def []=(key, value)
instance_variable_set("@#{key}", value)
end
end
parser = JSON::Parser.new(DATA.read, object_class: Person)
person = parser.parse
person.class # => Person
person.name # => "tanaka"
person.age # => 20
__END__
{
"name"... -
REXML
:: Document . new(source = nil , context = {}) -> REXML :: Document (18214.0) -
Document オブジェクトを生成します。
...Document オブジェクトを生成します。
source には String、IO、REXML::Document のいずかが
指定できます。 REXML::Document を指定すると
コンテキストと要素、属性が複製されます。
文字列の場合はそれを XML と見なしてパースします。......raw mode においては、text 中の特殊文字は一切変換されません。
REXML::Element#raw も参照してください。
@param source XML文書(文字列, IO)もしくは REXML::Document オブジェクト
@param context コンテキスト
@raise REXML::ParseException XML文書... -
REXML
:: Parsers :: SAX2Parser . new(source) -> REXML :: Parsers :: SAX2Parser (18208.0) -
SAX2 パーサオブジェクトを生成します。
...SAX2 パーサオブジェクトを生成します。
@param source 入力(文字列、IO、IO互換オブジェクト(StringIOなど))...