るりまサーチ

最速Rubyリファレンスマニュアル検索!
144件ヒット [101-144件を表示] (0.017秒)
トップページ > クエリ:source[x] > クエリ:source=[x]

別のキーワード

  1. rss source
  2. _builtin source_location
  3. socket ip_block_source
  4. socket ip_unblock_source
  5. _builtin source_encoding

検索結果

<< < 1 2 >>

WIN32OLE_TYPE#default_event_sources -> [WIN32OLE_TYPE] (6118.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でインターフェイス名を指定しない場合は、ここで
返されたイ...
...osoft 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|
WebEvent.module_eval do
define_method("on#{m....

DublinCoreModel#dc_source (6103.0)

@todo

@todo

rss (126.0)

RSS を扱うためのライブラリです。

...ールはそれぞれ、
* Dublin Core モジュール http://web.resource.org/rss/1.0/modules/dc/
* Syndication モジュール http://web.resource.org/rss/1.0/modules/syndication/
* Content モジュール http://web.resource.org/rss/1.0/modules/content/
* Trackback モジュール http://mad...
...skills.com/public/xml/rss/module/trackback/
* Image モジュール http://web.resource.org/rss/1.0/modules/image/
をサポートしています。
ただし,Content モジュールは content:encoded しかサポートしていません.

=== パース

RSS をパースしたい場合は RSS:...
...のとします。

require 'rss'
items = []
ARGV.each do |fname|
rss_source = nil
File.open(fname) do |f|
rss_source = f.read
end

rss = nil
begin
rss = RSS::Parser.parse(rss_source, true)
rescue RSS::Error
end

if rss.nil?
puts "#{fname}はRS...

REXML::Document.new(source = nil, context = {}) -> REXML::Document (114.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文書...
<< < 1 2 >>