622件ヒット
[1-100件を表示]
(0.057秒)
ライブラリ
- ビルトイン (185)
- csv (132)
- e2mmap (12)
- erb (11)
- irb (11)
-
irb
/ context (11) - json (33)
- open-uri (18)
- optparse (11)
- psych (44)
- rbconfig (22)
- readline (33)
-
rexml
/ document (22) -
ripper
/ lexer (11) -
rubygems
/ security (11) -
rubygems
/ specification (11) - strscan (11)
- uri (22)
- zlib (11)
クラス
- Array (11)
- CSV (132)
- ERB (11)
-
Encoding
:: Converter (55) -
Gem
:: Security :: Policy (11) -
Gem
:: Specification (11) - IO (33)
-
IRB
:: Context (11) -
OptionParser
:: ParseError (11) -
Psych
:: Visitors :: YAMLTree (11) -
REXML
:: Document (11) -
REXML
:: Element (11) - Regexp (33)
- Ripper (11)
-
RubyVM
:: InstructionSequence (42) - String (11)
- StringScanner (11)
-
Zlib
:: Deflate (11)
モジュール
- Exception2MessageMapper (12)
- IRB (11)
- JSON (22)
-
JSON
:: Generator :: GeneratorMethods :: String :: Extend (11) - OpenURI (11)
- Psych (33)
- RbConfig (22)
- Readline (33)
- URI (29)
キーワード
- [] (11)
-
asciicompat
_ encoding (22) - binread (11)
- compile (11)
-
compile
_ option (11) -
completion
_ append _ character (11) -
completion
_ append _ character= (11) -
completion
_ case _ fold (11) -
create
_ id (11) -
decode
_ www _ form _ component (11) - deflate (11)
- disasm (11)
- disassemble (11)
- dump (22)
-
encode
_ www _ form _ component (11) - filter (33)
-
filter
_ backtrace (11) - generate (11)
-
generate
_ line (11) - instance (22)
-
json
_ create (11) - lex (11)
-
load
_ from _ binary _ extra _ data (9) -
must
_ C _ version (11) - new (99)
-
normalize
_ yaml _ input (11) - open (51)
-
open
_ uri (11) - ruby (11)
-
to
_ json (11) -
trusted
_ cert _ path (11) -
try
_ convert (22) - union (11)
- version (22)
- write (22)
検索結果
先頭5件
-
String
. try _ convert(obj) -> String | nil (27230.0) -
obj を String に変換しようと試みます。変換には Object#to_str メソッ ドが使われます。変換後の文字列を返すか、何らかの理由により変換できなかっ た場合は nil が返されます。
...obj を String に変換しようと試みます。変換には Object#to_str メソッ
ドが使われます。変換後の文字列を返すか、何らかの理由により変換できなかっ
た場合は nil が返されます。
@param obj 変換する任意のオブジェクト
@return......変換後の文字列または nil
//emlist[例][ruby]{
String.try_convert("str") # => "str"
String.try_convert(/re/) # => nil
//}... -
JSON
:: Generator :: GeneratorMethods :: String :: Extend . json _ create(hash) -> String (12208.0) -
JSON のオブジェクトから Ruby の文字列を生成して返します。
...JSON のオブジェクトから Ruby の文字列を生成して返します。
@param hash キーとして "raw" という文字列を持ち、その値として数値の配列を持つハッシュを指定します。
require 'json'
String.json_create({"raw" => [0x41, 0x42, 0x43]}) # => "A... -
RubyVM
:: InstructionSequence . compile _ option -> Hash (9113.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返 します。
...ctionSequence.compile_option
# => {:inline_const_cache=>true,
# :peephole_optimization=>true,
# :tailcall_optimization=>false,
# :specialized_instruction=>true,
# :operands_unification=>true,
# :instructions_unification=>false,
# :stack_caching=>false,
# :trace_instruction=>true,
# :frozen_string_l......iteral=>false,
# :debug_frozen_string_literal=>false,
# :coverage_enabled=>true,
# :debug_level=>0}
//}
@see RubyVM::InstructionSequence.compile_option=... -
StringScanner
. must _ C _ version -> self (9101.0) -
このメソッドは後方互換性のために定義されています。
このメソッドは後方互換性のために定義されています。 -
Readline
. completion _ append _ character=(string) (6236.0) -
ユーザの入力の補完が完了した場合に、最後に付加する文字 string を指定します。
...ユーザの入力の補完が完了した場合に、最後に付加する文字 string を指定します。
@param string 1文字を指定します。
@raise NotImplementedError サポートしていない環境で発生します。
半角スペース「" "」などの単語を区切る文字......ion_append_character = " "
> /var/li
ここで補完(TABキーを押す)を行う。
> /var/lib
最後に" "が追加されているため、すぐに「/usr」などを入力できる。
> /var/lib /usr
なお、1文字しか指定することはできないため、
例えば、"string"......を指定した場合は最初の文字である"s"だけを使用します。
require 'readline'
Readline.completion_append_character = "string"
p Readline.completion_append_character # => "s"
@see Readline.completion_append_character... -
ERB
. version -> String (6202.0) -
erb.rbのリビジョン情報を返します。
erb.rbのリビジョン情報を返します。 -
IRB
. version -> String (6202.0) -
IRB のバージョンを文字列で返します。
...IRB のバージョンを文字列で返します。
~/.irbrc などの設定ファイル内で IRB.conf[:VERSION] を設定していた場合は
任意のバージョンを返すように設定できます。... -
Psych
. to _ json(o) -> String (6202.0) -
Ruby のオブジェクト o を JSON の文字列に変換します。
...Ruby のオブジェクト o を JSON の文字列に変換します。
@param o 変換対象となるオブジェクト... -
Readline
. completion _ append _ character -> String (6202.0) -
ユーザの入力の補完が完了した場合に、最後に付加する文字を取得します。
...ユーザの入力の補完が完了した場合に、最後に付加する文字を取得します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.completion_append_character=... -
URI
. decode _ www _ form _ component(str , enc=Encoding :: UTF _ 8) -> String (6202.0) -
URL-encoded form data の文字列の各コンポーネント をデコードした文字列を返します。
...st[][ruby]{
require 'uri'
enc = URI.encode_www_form_component('Ruby リファレンスマニュアル')
# => "Ruby+%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9%E3%83%9E%E3%83%8B%E3%83%A5%E3%82%A2%E3%83%AB"
p URI.decode_www_form_component(enc)
# => "Ruby リファレンスマニュアル"
/....../}
@param str デコード対象の文字列
@param enc エンコーディング
@raise ArgumentError str のフォーマットが不正である場合に発生します
@see URI.encode_www_form_component, URI.decode_www_form...