793件ヒット
[701-793件を表示]
(0.102秒)
ライブラリ
- ビルトイン (150)
- json (444)
- observer (12)
- openssl (12)
- rake (12)
-
ripper
/ lexer (24) -
rubygems
/ user _ interaction (48)
クラス
-
Encoding
:: Converter (12) -
Enumerator
:: Lazy (60) -
Gem
:: StreamUI (48) -
JSON
:: State (264) -
OpenSSL
:: SSL :: SSLSocket (12) -
Rake
:: Application (12) - Random (24)
- Ripper (8)
-
Ripper
:: Lexer (16) - Thread (42)
モジュール
- GC (12)
- JSON (60)
-
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Observable (12)
キーワード
-
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (8) - State (12)
-
abort
_ on _ exception= (24) - alert (12)
-
alert
_ error (12) -
alert
_ warning (12) -
array
_ nl (12) -
array
_ nl= (12) -
buffer
_ initial _ length (12) -
buffer
_ initial _ length= (12) - changed (12)
-
check
_ circular? (12) - chunk (24)
- configure (12)
- depth (12)
-
from
_ state (12) - generate (24)
- indent (12)
- indent= (12)
-
insert
_ output (12) -
latest
_ gc _ info (12) - lex (16)
-
max
_ nesting (12) - merge (12)
-
object
_ nl (12) -
object
_ nl= (12) - parse (8)
-
pretty
_ generate (12) -
pretty
_ unparse (12) -
quirks
_ mode (12) -
quirks
_ mode= (12) -
quirks
_ mode? (12) -
rb
_ eval _ string _ protect (12) -
rb
_ eval _ string _ wrap (12) -
rb
_ jump _ tag (12) -
rb
_ load _ protect (12) -
rb
_ protect (12) -
rb
_ reserved _ word (12) -
report
_ on _ exception= (18) - say (12)
-
slice
_ before (36) - space (12)
- space= (12)
-
space
_ before (12) -
space
_ before= (12) -
to
_ json (108) -
tty
_ output= (12) - unparse (12)
検索結果
先頭5件
-
JSON
:: State # indent=(string) (3136.0) -
インデントに使用する文字列をセットします。
...をセットします。
@param string インデントに使用する文字列を指定します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{\t\"key1\":\"value1\",\......t\"key2\":\"value2\"}"
json_state.indent = " "
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{ \"key1\":\"value1\", \"key2\":\"value2\"}"
//}... -
JSON
:: State # indent -> String (3124.0) -
インデントに使用する文字列を返します。
...インデントに使用する文字列を返します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(indent: "\t")
json_state.indent # => "\t"
JSON.generate({key1: "value1", key2: "value2"}, json_state)
# => "{\t\"key1\":\"value1\",\t\"key2\":\"value2\"}"
//}... -
Rake
:: Application # tty _ output=(tty _ output _ state) (3107.0) -
TTY に対する出力状態を上書きします。
...@param tty_output_state 変更後の状態を指定します
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.tty_output? # => false
Rake.application.tty_output = "debug output" # => "debug output"
Rake... -
Enumerator
:: Lazy # chunk {|elt| . . . } -> Enumerator :: Lazy (3102.0) -
Enumerable#chunk と同じですが、配列ではなく Enumerator::Lazy を返します。
...Enumerable#chunk と同じですが、配列ではなく Enumerator::Lazy を返します。
//emlist[例][ruby]{
1.step.lazy.chunk{ |n| n % 3 == 0 }
# => #<Enumerator::Lazy: #<Enumerator: #<Enumerator::Generator:0x007f8bf18118f0>:each>>
1.step.lazy.chunk{ |n| n % 3 == 0 }.take(5).force
# => [[fa......lse, [1, 2]], [true, [3]], [false, [4, 5]], [true, [6]], [false, [7, 8]]]
//}
@see Enumerable#chunk... -
Gem
:: StreamUI # say(statement = & # 39;& # 39;) -> () (3100.0) -
与えられた文字列を表示します。
...与えられた文字列を表示します。
@param statement 表示する文字列を指定します。... -
JSON
:: State # depth -> Integer (3100.0) -
This integer returns the current depth of data structure nesting.
...This integer returns the current depth of data structure nesting.... -
NEWS for Ruby 2
. 2 . 0 (3012.0) -
NEWS for Ruby 2.2.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.2.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......トは ChangeLog ファイルか bugs.ruby-lang.org の issue を参照してください。
== 2.1.0 以降の変更
=== 言語仕様の変更
* nil/true/false
* nil/true/false はフリーズされました 8923
* Hash リテラル
* 後ろにコロンのあるシンボルをキー......Float#next_float
* 追加: Float#prev_float
* File
* 追加: File.birthtime
* 追加: File#birthtime
* File::Stat
* 追加: File::Stat#birthtime
* GC
* GC.latest_gc_info は現在のGCのステータスを再現するために :state を返すようになりました。... -
NEWS for Ruby 2
. 5 . 0 (3012.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.5.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......トは ChangeLog ファイルか bugs.ruby-lang.org の issue を参照してください。
== 2.4.0 以降の変更
=== 言語仕様の変更
* トップレベルの定数参照を削除しました 11547
* do/end ブロック内部で rescue/else/ensure を書けるようになりまし...... Remove deprecated method aliases for syck gem
https://github.com/ruby/psych/pull/312
* rbconfig
* RbConfig::LIMITS is added to provide the limits of C types.
This is available when rbconfig/sizeof is loaded.
* ripper
* Ripper::EXPR_BEG and so on for Ripper#state.
* R... -
GC
. latest _ gc _ info(result _ hash = {}) -> Hash (106.0) -
最新のGCの情報を返します。
...のGCの情報を返します。
@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。
@param key 得られる情報から特......指定します。
//emlist[例][ruby]{
latest = GC.latest_gc_info
latest # => {:major_by=>nil, :gc_by=>:newobj, :have_finalizer=>false, :immediate_sweep=>false, :state=>:sweeping}
stat = GC.stat
merged = GC.latest_gc_info(stat)
merged == latest.merge(stat) # => true
GC.latest_gc_info(:gc_by)...