るりまサーチ

最速Rubyリファレンスマニュアル検索!
802件ヒット [201-300件を表示] (0.072秒)

別のキーワード

  1. rss url
  2. rss url=
  3. item url
  4. rss20 url
  5. item url=

キーワード

検索結果

<< < 1 2 3 4 5 ... > >>

CGI::HtmlExtension#form(method = "post", action = nil, enctype = "application/x-www-form-urlencoded") -> String (113.0)

form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。

...lication/x-www-form-urlencoded" です。

例:
form{ "string" }
# <FORM METHOD="post" ENCTYPE="application/x-www-form-urlencoded">string</FORM>

form("get"){ "string" }
# <FORM METHOD="get" ENCTYPE="application/x-www-form-urlencoded">string</FORM>

form("get", "url"){ "string" }
#...
...<FORM METHOD="get" ACTION="url" ENCTYPE="application/x-www-form-urlencoded">string</FORM>...

CGI::HtmlExtension#form(method = "post", action = nil, enctype = "application/x-www-form-urlencoded") { ... } -> String (113.0)

form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。

...lication/x-www-form-urlencoded" です。

例:
form{ "string" }
# <FORM METHOD="post" ENCTYPE="application/x-www-form-urlencoded">string</FORM>

form("get"){ "string" }
# <FORM METHOD="get" ENCTYPE="application/x-www-form-urlencoded">string</FORM>

form("get", "url"){ "string" }
#...
...<FORM METHOD="get" ACTION="url" ENCTYPE="application/x-www-form-urlencoded">string</FORM>...

URI::Generic#+(rel) -> URI::Generic (37.0)

自身と与えられたパス rel を連結した新しい URI オブジェクトを生成して返します。

...o/bar.html'
#=> #<URI::HTTP:0x201001c0 URL:http://example.com/foo/bar.html>
URI('http://a/b/c/d;p?q').merge('?y') #=> #<URI::HTTP:0xb7ca2e2c URL:http://a/b/c/d;p?y>
URI('http://a/b/c/d;p?q').merge('/./g') #=> #<URI::HTTP:0xb7ca2738 URL:http://a/g>
URI('http://a/b/c/d;p?q'...
...).merge('/../g') #=> #<URI::HTTP:0xb7ca2008 URL:http://a/g>
URI('http://a/b/c/d;p?q').merge('../../../g') #=> #<URI::HTTP:0xb7ca1888 URL:http://a/g>
URI('http://a/b/c/d;p?q').merge('../../../../g') #=> #<URI::HTTP:0xb7ca10a4 URL:http://a/g>...

URI::Generic#merge(rel) -> URI::Generic (37.0)

自身と与えられたパス rel を連結した新しい URI オブジェクトを生成して返します。

...o/bar.html'
#=> #<URI::HTTP:0x201001c0 URL:http://example.com/foo/bar.html>
URI('http://a/b/c/d;p?q').merge('?y') #=> #<URI::HTTP:0xb7ca2e2c URL:http://a/b/c/d;p?y>
URI('http://a/b/c/d;p?q').merge('/./g') #=> #<URI::HTTP:0xb7ca2738 URL:http://a/g>
URI('http://a/b/c/d;p?q'...
...).merge('/../g') #=> #<URI::HTTP:0xb7ca2008 URL:http://a/g>
URI('http://a/b/c/d;p?q').merge('../../../g') #=> #<URI::HTTP:0xb7ca1888 URL:http://a/g>
URI('http://a/b/c/d;p?q').merge('../../../../g') #=> #<URI::HTTP:0xb7ca10a4 URL:http://a/g>...

CGI::HtmlExtension#image_button(src = "", name = nil, alt = nil) -> String (27.0)

タイプが image の input 要素を生成します。

...の値を指定します。

@param name name 属性の値を指定します。

@param alt alt 属性の値を指定します。

例:
image_button("url")
# <INPUT TYPE="image" SRC="url">

image_button("url", "name", "string")
# <INPUT TYPE="image" SRC="url" NAME="name" ALT="string">...

絞り込み条件を変える

WIN32OLE_EVENT#on_event(event = nil) {|*args| ... } -> () (25.0)

イベント通知を受けるブロックを登録します。

...32OLE.new('InternetExplorer.Application')
ev = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
ev.on_event("NavigateComplete2") do |browser, url|
puts url
end

同じオブジェクトに対してeventパラメータを指定したブロックと指定しないブ
ロックが混在してい...
...32OLE.new('InternetExplorer.Application')
ev = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
ev.on_event("NavigateComplete2") do |browser, url|
puts url
end
ev.on_event do |*args| # <- NavigateComplete2イベント時は実行されない
puts args[0]
end
...

当メソッド...

Gem::SourceInfoCache#search_with_source(pattern, only_platform = false, all = false) -> Array (23.0)

与えられた条件を満たす Gem::Specification と URL のリストを返します。

...与えられた条件を満たす Gem::Specification と URL のリストを返します。

@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。

@param only_platform 真を指定するとプラットフォームが一致するもののみを返...
...します。デフォルトは偽です。

@param all 真を指定するとキャッシュを更新してから検索を実行します。

@return 第一要素を Gem::Specification、第二要素を取得元の URL とする配列を要素とする配列を返します。...

Object#then -> Enumerator (19.0)

self を引数としてブロックを評価し、ブロックの結果を返します。

...使い方です。

//emlist[メソッドチェインのパイプライン][ruby]{
require 'open-uri'
require 'json'

construct_url(arguments).
yield_self {|url| URI(url).read }.
yield_self {|response| JSON.parse(response) }
//}

ブロックなしで呼び出されたときは Enumerator を返...

Object#then {|x| ... } -> object (19.0)

self を引数としてブロックを評価し、ブロックの結果を返します。

...使い方です。

//emlist[メソッドチェインのパイプライン][ruby]{
require 'open-uri'
require 'json'

construct_url(arguments).
yield_self {|url| URI(url).read }.
yield_self {|response| JSON.parse(response) }
//}

ブロックなしで呼び出されたときは Enumerator を返...

Object#yield_self -> Enumerator (19.0)

self を引数としてブロックを評価し、ブロックの結果を返します。

...使い方です。

//emlist[メソッドチェインのパイプライン][ruby]{
require 'open-uri'
require 'json'

construct_url(arguments).
yield_self {|url| URI(url).read }.
yield_self {|response| JSON.parse(response) }
//}

ブロックなしで呼び出されたときは Enumerator を返...

絞り込み条件を変える

Object#yield_self {|x| ... } -> object (19.0)

self を引数としてブロックを評価し、ブロックの結果を返します。

...使い方です。

//emlist[メソッドチェインのパイプライン][ruby]{
require 'open-uri'
require 'json'

construct_url(arguments).
yield_self {|url| URI(url).read }.
yield_self {|response| JSON.parse(response) }
//}

ブロックなしで呼び出されたときは Enumerator を返...
<< < 1 2 3 4 5 ... > >>