505件ヒット
[201-300件を表示]
(0.052秒)
ライブラリ
- ビルトイン (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件
-
REXML
:: Parsers :: SAX2Parser . new(source) -> REXML :: Parsers :: SAX2Parser (18208.0) -
SAX2 パーサオブジェクトを生成します。
...SAX2 パーサオブジェクトを生成します。
@param source 入力(文字列、IO、IO互換オブジェクト(StringIOなど))... -
REXML
:: Parsers :: StreamParser . new(source , listener) -> REXML :: Parsers :: StreamParser (18208.0) -
ストリームパーサオブジェクトを生成します。
...ストリームパーサオブジェクトを生成します。
@param source 入力(文字列、IO、IO互換オブジェクト(StringIOなど))
@param listener コールバックオブジェクト... -
REXML
:: AttlistDecl . new(source) -> REXML :: AttlistDecl (18202.0) -
このメソッドは内部用なので使わないでください。
このメソッドは内部用なので使わないでください。 -
Encoding
:: Converter . new(convpath) -> Encoding :: Converter (18135.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 # source -> String (18113.0) -
現在のソースのコピーを返します。
...現在のソースのコピーを返します。
//emlist[例][ruby]{
require 'json'
parser = JSON::Parser.new(DATA.read)
print parser.source
# => {
# => "Tanaka": {
# => "name":"tanaka",
# => "age":20
# => },
# => "Suzuki": {
# => "name":"suzuki",
# => "age":25
# => }
#... -
REXML
:: Parsers :: PullParser . new(stream) -> REXML :: Parsers :: PullParser (18107.0) -
新たな PullParser オブジェクトを生成して返します。
...新たな PullParser オブジェクトを生成して返します。
@param source 入力(文字列、IO、IO互換オブジェクト(StringIOなど))... -
RubyVM
:: InstructionSequence . new(source , file = nil , path = nil , line = 1 , options = nil) -> RubyVM :: InstructionSequence (15231.0) -
引数 source で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
...引数 source で指定した Ruby のソースコードを元にコンパイル済みの
RubyVM::InstructionSequence オブジェクトを作成して返します。
@param source Ruby のソースコードを文字列で指定します。
@param file ファイル名を文字列で指定しま......す。
@param path 引数 file の絶対パスファイル名を文字列で指定します。
@param line 引数 source の 1 行目の行番号を指定します。
@param options コンパイル時のオプションを true、false、Hash オブ
ジェクトのいずれかで指... -
WIN32OLE
_ TYPE # default _ event _ sources -> [WIN32OLE _ TYPE] (6160.0) -
型が持つソースインターフェイスを取得します。
...型が持つソースインターフェイスを取得します。
default_event_sourcesメソッドは、selfがCoClass(コンポーネントクラス)
の場合、そのクラスがサポートするデフォルトのソースインターフェイス(イ
ベントの通知元となるイン......たない場合は空配列を返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
tobj.default_event_sources.map {|intf| intf.name} #=> ["DocEvents"]
WIN32OLE_EVENT.newでインターフェイス名を指定しない場合は、ここで
返さ......'win32ole'
type = WIN32OLE_TYPE.new('Microsoft Internet Controls', 'InternetExplorer')
ctl = WIN32OLE.new(type.progid)
source = type.default_event_sources[0]
class WebEvent
def initialize
@completed = false
end
attr_reader :completed
end
source.ole_methods.each do |m|
WebEve... -
Method
# source _ location -> [String , Integer] | nil (6125.0) -
ソースコードのファイル名と行番号を配列で返します。
...す。
@see Proc#source_location
//emlist[例][ruby]{
# ------- /tmp/foo.rb ---------
class Foo
def foo; end
end
# ----- end of /tmp/foo.rb ----
require '/tmp/foo'
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m.source_location # => ["/tmp/foo.rb", 2]
method(:puts).source_location # => nil... -
WIN32OLE
_ TYPE # source _ ole _ types -> [WIN32OLE _ TYPE] (6119.0) -
型が持つソースインターフェイスを取得します。
...型が持つソースインターフェイスを取得します。
source_ole_typesメソッドは、selfがCoClass(コンポーネントクラス)の場合、
そのクラスがサポートするすべてのソースインターフェイス(イベントの通知
元となるインターフ......ェイスをWIN32OLE_TYPEの配列として返します。
ソースインターフェイスを持たない場合は空配列を返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
tobj.source_ole_types.map {|intf| intf.name} #=> ["DocEvents"]...