るりまサーチ

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

別のキーワード

  1. string []=
  2. string slice
  3. string slice!
  4. string []
  5. string gsub

ライブラリ

モジュール

検索結果

<< < ... 2 3 4 >>

Net::FTP#last_response -> String (6309.0)

サーバからの最後の応答を文字列で返します。

...サーバからの最後の応答を文字列で返します。

例えばログイン(Net::FTP#login)に成功した場合には
"230 Login successful.\n" を返します。

@see Net::FTP#last_response_code...

Net::IMAP::ResponseCode#name -> String (6303.0)

レスポンスコードを表す文字列を返します。 "ALERT"、"PERMANENTFLAGS"、"UIDVALIDITY" などを返します。

...レスポンスコードを表す文字列を返します。

"ALERT"、"PERMANENTFLAGS"、"UIDVALIDITY" などを返します。...

Refinement#import_methods(*modules) -> self (6137.0)

モジュールからメソッドをインポートします。

...モジュールからメソッドをインポートします。

Module#includeと違って、import_methods はメソッドをコピーして
refinement に追加して、refinementでインポートしたメソッドを有効化します。

メソッドをコピーするため、Rubyコードで...
...ist[][ruby]{
module StrUtils
def indent(level)
' ' * level + self
end
end

module M
refine String do
import_methods StrUtils
end
end

using M
p "foo".indent(3) # => " foo"

module M
refine String do
import_methods Enumerable
# Can't import method which is not defined with...
...Ruby code: Enumerable#drop
end
end
//}...

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

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

...method method 属性の値として "get" か "post" を指定します。

@param action action 属性の値を指定します。デフォルトは現在の CGI スクリプト名です。

@param enctype enctype 属性の値を指定します。デフォルトは "application/x-www-form-urlencoded...
...m{ "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 (3485.0)

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

...method method 属性の値として "get" か "post" を指定します。

@param action action 属性の値を指定します。デフォルトは現在の CGI スクリプト名です。

@param enctype enctype 属性の値を指定します。デフォルトは "application/x-www-form-urlencoded...
...m{ "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>...

絞り込み条件を変える

<< < ... 2 3 4 >>