588件ヒット
[501-588件を表示]
(0.057秒)
種類
- インスタンスメソッド (322)
- 特異メソッド (127)
- モジュール関数 (110)
- 文書 (18)
- ライブラリ (11)
ライブラリ
クラス
-
Net
:: FTP (55) -
Net
:: HTTPResponse (11) -
Net
:: IMAP (22) -
Net
:: IMAP :: ResponseCode (11) -
RDoc
:: CodeObject (33) - Refinement (3)
- Regexp (22)
- String (140)
- StringIO (36)
-
URI
:: FTP (11) - WIN32OLE (11)
モジュール
- Base64 (66)
-
CGI
:: HtmlExtension (22) - Digest (11)
-
ERB
:: Util (11) - Kconv (11)
- URI (72)
-
WEBrick
:: HTTPStatus (11)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - Ruby用語集 (11)
- codepage (11)
- codepoints (36)
- comment (11)
- compile (11)
- decode (7)
- decode64 (11)
-
decode
_ utf7 (11) -
decode
_ www _ form (11) -
decode
_ www _ form _ component (11) -
each
_ codepoint (44) - encode (40)
- encode! (22)
- encode64 (11)
-
encode
_ utf7 (11) -
encode
_ www _ form (11) -
encode
_ www _ form _ component (11) - escape (7)
- form (22)
- hexencode (11)
-
import
_ methods (3) - kconv (33)
-
last
_ response (11) -
last
_ response _ code (11) - lastresp (11)
- name (11)
- new (11)
-
parent
_ file _ name (11) -
parent
_ name (11) -
reason
_ phrase (11) -
return
_ code (11) -
return
_ code= (11) -
strict
_ decode64 (11) -
strict
_ encode64 (11) - typecode (11)
- unescape (7)
-
unicode
_ normalize (10) -
unicode
_ normalize! (10) -
unicode
_ normalized? (10) -
url
_ encode (11) -
urlsafe
_ decode64 (11) -
urlsafe
_ encode64 (11)
検索結果
先頭5件
- CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") -> String - CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") { . . . } -> String - Regexp
. compile(string , option = nil , code = nil) -> Regexp - Regexp
. new(string , option = nil , code = nil) -> Regexp - WEBrick
:: HTTPStatus . # reason _ phrase(code) -> String
-
CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") -> String (242.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
.../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 M......ETHOD="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 (242.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
.../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 M......ETHOD="get" ACTION="url" ENCTYPE="application/x-www-form-urlencoded">string</FORM>... -
Regexp
. compile(string , option = nil , code = nil) -> Regexp (232.0) -
文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
...文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
第一引数が正規表現であれば第一引数を複製して返します。第二、第三引数は警告の上無視されます。
@param string 正規表現を文字列として与えま......して見なされ
、真(nil, false 以外)であれば
Regexp::IGNORECASE の指定と同じになります。
@param code "n", "N" が与えられた時には、生成された正規表現のエンコーディングは ASCII-8BIT になります。
それ... -
Regexp
. new(string , option = nil , code = nil) -> Regexp (232.0) -
文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
...文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
第一引数が正規表現であれば第一引数を複製して返します。第二、第三引数は警告の上無視されます。
@param string 正規表現を文字列として与えま......して見なされ
、真(nil, false 以外)であれば
Regexp::IGNORECASE の指定と同じになります。
@param code "n", "N" が与えられた時には、生成された正規表現のエンコーディングは ASCII-8BIT になります。
それ... -
WEBrick
:: HTTPStatus . # reason _ phrase(code) -> String (208.0) -
指定された整数が表すステータスコードに対応する reason phrase を表す文字列を返します。
...指定された整数が表すステータスコードに対応する reason phrase
を表す文字列を返します。
@param code HTTP のステータスコードを表す整数か文字列を指定します。
require 'webrick'
p WEBrick::HTTPStatus.reason_phrase(304) #=> "Not Modified"... -
Net
:: FTP # last _ response -> String (107.0) -
サーバからの最後の応答を文字列で返します。
...サーバからの最後の応答を文字列で返します。
例えばログイン(Net::FTP#login)に成功した場合には
"230 Login successful.\n" を返します。
@see Net::FTP#last_response_code... -
Ruby用語集 (90.0)
-
Ruby用語集 A B C D E F G I J M N O R S Y
...cent
: 0 オリジン
: zero-based
番号が 0 から始まること。
例えば、
Array や Vector、Matrix などの要素の番号、
String における文字の位置、
といったものは 0 オリジンである。
: 1 オリジン
: one-based
番号が 1 から始まるこ......論を持った静的型付け言語であり、処理系はコンパイラーである。
https://ja.crystal-lang.org/
: CSI 方式
CSI は Code Set Independent の頭字語。
プログラミング言語の処理系が文字列を扱う際のエンコーディングに関する方針の一......は
オブジェクトではない。
ただし、メソッド、ブロックはそれぞれオブジェクト化できる。
なお、「String オブジェクト」のような、クラス名+「オブジェクト」の
形の表現は、そのクラスのインスタンスを指す。... -
kconv (66.0)
-
日本語文字コードの変換を手軽に行うためのライブラリです。
...日本語文字コードの変換を手軽に行うためのライブラリです。
kconv を require すると String クラスに変換用のメソッドが定義されます。
Kconv にも同等のメソッドが定義されます。 Kconv には
エンコーディングを表す定数も定......newstring = Kconv.kconv(string, Kconv::JIS, Kconv::AUTO)
newstring = Kconv.tojis(string)
newstring = Kconv.toeuc(string)
newstring = Kconv.tosjis(string)
guessed_code = Kconv.guess(string)
//}
または
//emlist[][ruby]{
require 'kconv'
newstring = string.kconv(Kconv::JIS, Kconv::AUTO)
newstring =......string.tojis
newstring = string.toeuc
newstring = string.tosjis
//}... -
NEWS for Ruby 3
. 1 . 0 (42.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...には、ハッシュリテラルを使用する必要があります。 16806
* String
* Unicodeと絵文字のバージョンが13.0.0に更新されました。 17750 18029
* String#unpack と String#unpack1 が任意のバイト数をスキップした後にアンパックを開始す......eadline-ext 0.1.4
* reline 0.3.0
* resolv 0.2.1
* rinda 0.1.1
* ruby2_keywords 0.0.5
* securerandom 0.1.1
* set 1.0.2
* stringio 3.0.1
* strscan 3.0.1
* tempfile 0.1.2
* time 0.2.0
* timeout 0.2.0
* tmpdir 0.1.2
* un 0.2.0
* uri 0.11.0
* ya......844
//emlist{
# `T` must be compatible with the `_Output` interface.
# `PrettyPrint[String]` is ok, but `PrettyPrint[Integer]` is a type error.
class PrettyPrint[T < _Output]
interface _Output
def <<: (String) -> void
end
attr_reader output: T
def initialize: (T output) -> void
end
//... -
Refinement
# import _ methods(*modules) -> self (18.0) -
モジュールからメソッドをインポートします。
...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
//}...