るりまサーチ

最速Rubyリファレンスマニュアル検索!
132件ヒット [1-100件を表示] (0.170秒)

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. open3 capture2e
  5. matrix rank_e

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 > >>

RSS::Maker::XMLStyleSheets::XMLStyleSheet#href (24203.0)

@todo

@todo

RSS::XMLStyleSheet#href (24203.0)

@todo

@todo

RSS::Maker::XMLStyleSheets::XMLStyleSheet#href=() (12203.0)

@todo

@todo

RSS::XMLStyleSheet#href= (12203.0)

@todo

@todo

CGI::HtmlExtension#base(href = "") -> String (6214.0)

base 要素を生成します。

...base 要素を生成します。

@param href 文字列を指定します。属性をハッシュで指定することもできます。

例:
base("http://www.example.com/cgi")
# => "<BASE HREF=\"http://www.example.com/cgi\">"...

絞り込み条件を変える

WIN32OLE_EVENT#handler=(obj) -> () (6125.0)

イベント処理を実行するオブジェクトを登録します。

...method_missingが呼ばれます。イベン
ト名は大文字小文字を区別するため、正確な記述が必要です。

@param obj イベントに対応するメソッドを持つオブジェクト。イベント受信を
解除するにはnilを指定します。

class IeHa...
...ndler
def initialize
@completed = false
e
nd
attr_reader :completed
def onDocumentComplete(disp, uri)
disp.document.getElementsByTagName('a').each do |e|
puts "#{e.innerHTML}=#{e.href}"
e
nd
@completed = true
e
nd
def method_missing(id, *args)...
...puts "event=#{id.to_s}, args=#{args.inspect}"
e
nd
e
nd

ie = WIN32OLE.new('InternetExplorer.Application.1')
e
vent = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
e
vent.handler = IeHandler.new
ie.Navigate2 'http://www.ruby-lang.org/ja/'
loop do
break if event.handler.completed...

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

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 />
E
OS
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 (6113.0)

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"?>
<root />
E
OS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\" href=...
...\"style.css\""
//}...

CGI::HtmlExtension#a(href = "") -> String (3227.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>"...
<< 1 2 > >>