1010件ヒット
[1001-1010件を表示]
(0.043秒)
別のキーワード
種類
ライブラリ
- ビルトイン (152)
- bigdecimal (24)
- coverage (32)
- delegate (12)
- drb (24)
-
irb
/ context (12) -
irb
/ ext / save-history (12) -
json
/ add / bigdecimal (12) -
net
/ http (7) - openssl (132)
- psych (31)
-
rake
/ loaders / makefile (12) - rubygems (180)
-
rubygems
/ commands / build _ command (12) -
rubygems
/ config _ file (12) -
rubygems
/ doc _ manager (12) -
rubygems
/ package / tar _ input (12) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ source _ index (24) -
rubygems
/ spec _ fetcher (12) -
rubygems
/ specification (72) -
rubygems
/ version (12) -
shell
/ command-processor (6) -
webrick
/ httpauth / htdigest (24) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httpauth / userdb (12)
クラス
- BigDecimal (36)
- Coverage (32)
-
DRb
:: DRbServer (12) - Delegator (12)
-
Gem
:: Commands :: BuildCommand (12) -
Gem
:: ConfigFile (12) -
Gem
:: DocManager (12) -
Gem
:: LoadError (48) -
Gem
:: Package :: TarInput (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: SourceIndex (24) -
Gem
:: SpecFetcher (12) -
Gem
:: Specification (72) -
Gem
:: Version (12) -
IRB
:: Context (12) - LoadError (12)
- Module (12)
- Object (24)
-
OpenSSL
:: Config (36) -
OpenSSL
:: Engine (72) -
OpenSSL
:: X509 :: ExtensionFactory (12) -
Psych
:: SyntaxError (12) -
Rake
:: MakefileLoader (12) -
RubyVM
:: InstructionSequence (20) -
Shell
:: CommandProcessor (6) -
WEBrick
:: HTTPAuth :: Htdigest (24) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12)
モジュール
- DRb (12)
-
Gem
:: QuickLoader (96) -
IRB
:: HistorySavingAbility (12) - Kernel (72)
- Marshal (36)
- Psych (7)
-
WEBrick
:: HTTPAuth :: UserDB (12)
キーワード
-
$ -I (12) -
$ : (12) -
$ LOADED _ FEATURES (12) -
$ LOAD _ PATH (12) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - Config (12)
- GemPaths (12)
- GemVersions (12)
- HTTPPayloadTooLarge (7)
- LoadError (12)
-
MAJOR
_ VERSION (12) -
MINOR
_ VERSION (12) - Marshal フォーマット (12)
-
NEWS for Ruby 3
. 0 . 0 (5) - QuickLoader (12)
- Ruby用語集 (12)
-
_ dump (24) -
_ load (24) - autoload? (24)
-
by
_ id (12) -
calculate
_ integers _ for _ gem _ version (12) - cleanup (12)
- config= (12)
-
const
_ missing (12) - coverage (12)
- debug (12)
- download (12)
- dump (12)
- each (12)
- engines (12)
- file (12)
- gem (12)
-
get
_ passwd (36) -
json
_ create (12) -
load
_ file (12) -
load
_ from _ binary _ extra _ data (10) -
load
_ full _ rubygems _ library (12) -
load
_ gems _ in (12) -
load
_ gemspec (12) -
load
_ gemspecs (12) -
load
_ history (12) -
load
_ modules (12) -
load
_ private _ key (12) -
load
_ public _ key (12) -
load
_ rdoc (12) -
load
_ specification (12) -
load
_ specs (12) - loaded= (12)
- loaded? (12)
-
loaded
_ from (12) -
loaded
_ from= (12) -
marshal
_ load (24) -
method
_ missing (12) - name (12)
- name= (12)
- new (24)
- path (12)
-
peek
_ result (12) -
push
_ all _ highest _ version _ gems _ on _ load _ path (12) -
push
_ gem _ version _ on _ load _ path (12) -
rb
_ f _ load (12) -
rb
_ jump _ tag (12) - reload (24)
- result (12)
-
ruby 1
. 6 feature (12) -
rubygems
/ commands / lock _ command (12) -
run
_ config (6) -
safe
_ load (7) - start (8)
-
start
_ service (12) -
to
_ binary (10) -
version
_ requirement (12) -
version
_ requirement= (12) -
yaml
_ tag (12) - パターンマッチ (9)
検索結果
-
Marshal フォーマット (90.0)
-
Marshal フォーマット フォーマットバージョン 4.8 を元に記述しています。
...=== String, Regexp, Array, Hash のサブクラス (インスタンス変数なし)
'C' で始まるデータ構造になります。
//emlist{
| 'C' | クラス名(Symbol)の dump | 親クラスのインスタンスの dump |
//}
//emlist[例 1][ruby]{
class Foo < Array # (or String, Regexp, Has......=== String, Regexp, Array, Hash のサブクラス (インスタンス変数あり)
'I' で始まるデータ構造になります。
d:marshal_format#instance_variableも参照してください。
//emlist[例 2: インスタンス変数あり][ruby]{
class Foo < Array # (or String, Regexp, Hash......ump(Foo.new).unpack("x2 a a c a*")
# => ["o", ":", 8, "Foo\x00"]
//}
=== 'u'
_dump、_load を定義していれば 'u' になります。
インスタンス変数は dump されなくなるので、_dump/_load で対応する必要があります。
//emlist{
| 'u' | クラス名(Symbol)の dump... -
NEWS for Ruby 3
. 0 . 0 (12.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...* Keyword arguments are now separated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now......accepting a single rest argument and no keywords.
16166
//emlist[][ruby]{
pr = proc{|*a, **kw| [a, kw]}
pr.call([1])
# 2.7 => [[1], {}]
# 3.0 => [[[1]], {}]
pr.call([1, {a: 1}])
# 2.7 => [[1], {:a=>1}] # and deprecation warning
# 3.0 => a=>1}, {}]
//}
* Arguments forwarding (`...`) now......ed in a background thread.
* Reduce the number of locks between Ruby and JIT threads.
== Static analysis
=== RBS
* RBS is a new language for type definition of Ruby programs. It allows writing types of classes and modules with advanced types including union types, overloading, generics, and...