121件ヒット
[1-100件を表示]
(0.133秒)
ライブラリ
-
cgi
/ html (33) -
rexml
/ document (22) -
rexml
/ streamlistener (11) - rss (44)
- win32ole (11)
クラス
-
REXML
:: Instruction (22) -
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet (22) -
RSS
:: XMLStyleSheet (22) -
WIN32OLE
_ EVENT (11)
モジュール
-
CGI
:: HtmlExtension (33) -
REXML
:: StreamListener (11)
検索結果
先頭5件
-
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet # href (24103.0) -
@todo
@todo -
RSS
:: XMLStyleSheet # href (21103.0) -
@todo
@todo -
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet # href=() (12103.0) -
@todo
@todo -
WIN32OLE
_ EVENT # handler=(obj) -> () (9107.0) -
イベント処理を実行するオブジェクトを登録します。
...るにはnilを指定します。
class IeHandler
def initialize
@completed = false
end
attr_reader :completed
def onDocumentComplete(disp, uri)
disp.document.getElementsByTagName('a').each do |e|
puts "#{e.innerHTML}=#{e.href}"
end
@completed = tru......ie = WIN32OLE.new('InternetExplorer.Application.1')
event = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
event.handler = IeHandler.new
ie.Navigate2 'http://www.ruby-lang.org/ja/'
loop do
break if event.handler.completed
WIN32OLE_EVENT.message_loop
end
ie.Quit
WIN32OLE_EVENT#on_... -
RSS
:: XMLStyleSheet # href= (9103.0) -
@todo
@todo -
CGI
:: HtmlExtension # a(href = "") -> String (3127.0) -
a 要素を生成します。
...@param href 文字列を指定します。属性をハッシュで指定することもできます。
例:
a("http://www.example.com") { "Example" }
# => "<A HREF=\"http://www.example.com\">Example</A>"
a("HREF" => "http://www.example.com", "TARGET" => "_top") { "Example" }
#......=> "<A HREF=\"http://www.example.com\" TARGET=\"_top\">Example</A>"... -
CGI
:: HtmlExtension # a(href = "") { . . . } -> String (3127.0) -
a 要素を生成します。
...@param href 文字列を指定します。属性をハッシュで指定することもできます。
例:
a("http://www.example.com") { "Example" }
# => "<A HREF=\"http://www.example.com\">Example</A>"
a("HREF" => "http://www.example.com", "TARGET" => "_top") { "Example" }
#......=> "<A HREF=\"http://www.example.com\" TARGET=\"_top\">Example</A>"... -
CGI
:: HtmlExtension # base(href = "") -> String (3114.0) -
base 要素を生成します。
...base 要素を生成します。
@param href 文字列を指定します。属性をハッシュで指定することもできます。
例:
base("http://www.example.com/cgi")
# => "<BASE HREF=\"http://www.example.com/cgi\">"... -
REXML
:: Instruction # content -> String | nil (3113.0) -
XML 処理命令の内容を返します。
...XML 処理命令の内容を返します。
//emlist[][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 (3013.0) -
XML 処理命令のターゲットを返します。
...L 処理命令のターゲットを返します。
//emlist[][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-styl......esheet"
doc[2].content # => "type=\"text/css\" href=\"style.css\""
//}...