ライブラリ
-
irb
/ context (12) - psych (890)
-
rubygems
/ commands / build _ command (12) -
rubygems
/ commands / specification _ command (12) -
rubygems
/ config _ file (12) -
rubygems
/ exceptions (12) -
rubygems
/ package / tar _ input (12) -
rubygems
/ server (12) -
rubygems
/ specification (36) - yaml (12)
-
yaml
/ dbm (300) -
yaml
/ store (33)
クラス
-
Gem
:: Commands :: BuildCommand (12) -
Gem
:: ConfigFile (12) -
Gem
:: Package :: TarInput (12) -
Gem
:: Server (12) -
Gem
:: Specification (36) -
IRB
:: Context (12) - Module (8)
- Object (36)
-
Psych
:: Handler (96) -
Psych
:: Nodes :: Document (36) -
Psych
:: Nodes :: Mapping (12) -
Psych
:: Nodes :: Node (36) -
Psych
:: Nodes :: Sequence (12) -
Psych
:: Parser (24) -
Psych
:: ScalarScanner (12) -
Psych
:: Stream (48) -
Psych
:: Visitors :: YAMLTree (120) -
RDoc
:: Options (12) -
YAML
:: DBM (288) -
YAML
:: Store (21)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (12)
- Alias (12)
- BadAlias (12)
- DBM (12)
- Document (12)
- Emitter (12)
- EndOfYAMLException (12)
-
LIBYAML
_ VERSION (12) - Mapping (12)
- Mark (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - Node (12)
- Nodes (12)
- Omap (12)
- Parser (12)
- Psych (12)
- Scalar (12)
- ScalarScanner (12)
- Sequence (12)
- Set (12)
- SpecificationCommand (12)
- Store (12)
- Stream (24)
- SyntaxError (12)
- TreeBuilder (12)
- VERSION (12)
- YAML (12)
- YAMLTree (12)
- [] (12)
- []= (12)
- alias (12)
- delete (12)
-
delete
_ if (12) - dump (24)
-
dump
_ stream (12) - each (12)
-
each
_ pair (12) -
each
_ value (12) -
end
_ document (12) -
end
_ stream (12) - fetch (12)
- finish (24)
- finished (12)
- finished? (12)
-
from
_ yaml (12) -
has
_ value? (12) - index (12)
-
inspect
_ mode= (12) - invert (12)
- irb (12)
- key (12)
-
libyaml
_ version (12) - load (15)
-
load
_ documents (8) -
load
_ file (24) -
load
_ gemspec (12) -
load
_ stream (24) - new (93)
-
normalize
_ yaml _ input (12) - parse (24)
-
parse
_ file (12) -
parse
_ stream (24) - psych (12)
-
psych
_ to _ yaml (12) -
psych
_ y (12) -
psych
_ yaml _ as (4) - push (12)
- rdoc (12)
- reject (12)
- replace (12)
-
ruby 1
. 8 . 2 feature (12) - rubygems (12)
-
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / mirror _ command (12) -
rubygems
/ commands / specification _ command (12) -
rubygems
/ server (12) -
safe
_ load (19) - scalar (12)
- select (24)
- shift (12)
- start (36)
-
start
_ document (12) -
start
_ mapping (12) -
start
_ sequence (12) -
start
_ stream (12) - started (12)
- started? (12)
- store (12)
- tag (12)
-
to
_ a (12) -
to
_ hash (12) -
to
_ yaml (24) - tokenize (12)
- tree (12)
- update (12)
- values (12)
-
values
_ at (12) - version (12)
- version= (12)
- y (12)
-
yaml
/ dbm (12) -
yaml
/ store (12) - yaml? (12)
-
yaml
_ as (4) -
yaml
_ initialize (12) -
yaml
_ tag (12)
検索結果
先頭5件
-
Object
. yaml _ tag(tag) -> () (6119.0) -
クラスと tag の間を関連付けます。
...クラスと tag の間を関連付けます。
これによって tag 付けされた YAML ドキュメントを Ruby のオブジェクトに
変換したりその逆をしたりすることができます。
@param tag 対象のクラスに関連付けるタグの文字列
=== Example
requir......: 3
# Registers tag with class Foo
Foo.yaml_as("tag:example.com,2013:foo")
# ... and dumps the object of Foo class
Psych.dump(Foo.new(3), STDOUT)
# =>
# --- !<tag:example.com,2013:foo>
# x: 3
# Loads the object from the tagged YAML node
p Psych.load(<<EOS)
--- !<tag:exampl... -
Gem
:: Commands :: BuildCommand # yaml?(filename) -> bool (6117.0) -
与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。
...与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。
@param filename ファイル名を指定します。... -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (6117.0) -
YAML 形式の gemspec を正しくフォーマットします。
...
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。... -
Module
# psych _ yaml _ as(tag) -> () (6114.0) -
クラスと tag の間を関連付けます。
...関連付けます。
これによって tag 付けされた YAML ドキュメントを Ruby のオブジェクトに
変換したりその逆をしたりすることができます。
この method は deprecated です。 Object.yaml_tag を
かわりに使ってください。
@param tag 対... -
Module
# yaml _ as(tag) -> () (6114.0) -
クラスと tag の間を関連付けます。
...関連付けます。
これによって tag 付けされた YAML ドキュメントを Ruby のオブジェクトに
変換したりその逆をしたりすることができます。
この method は deprecated です。 Object.yaml_tag を
かわりに使ってください。
@param tag 対... -
Gem
:: Specification # yaml _ initialize (6101.0) -
@todo
@todo -
Psych
. libyaml _ version -> [Integer , Integer , Integer] (6100.0) -
libyaml のバージョンを返します。
...libyaml のバージョンを返します。
[major, minor patch-level] という 3 つの整数からなる配列を返します。
@see Psych::LIBYAML_VERSION... -
Psych
:: LIBYAML _ VERSION -> String (6100.0) -
libyaml のバージョン。
...libyaml のバージョン。... -
yaml
/ store (6028.0) -
RubyのオブジェクトをYAML形式の外部ファイルに格納するためのクラスです。
...RubyのオブジェクトをYAML形式の外部ファイルに格納するためのクラスです。
例:
require 'yaml/store'
Person = Struct.new :first_name, :last_name
people = [Person.new("Bob", "Smith"), Person.new("Mary", "Johnson")]
store = YAML::Store.new "test.store"
store.... -
Psych
:: Visitors :: YAMLTree (6022.0) -
Ruby オブジェクトから YAML の AST を構築するためのクラスです。
...クトから YAML の AST を構築するためのクラスです。
=== 例
builder = Psych::Visitors::YAMLTree.new
builder << { :foo => 'bar' }
builder << ["baz", "bazbaz"]
builder.tree # => #<Psych::Nodes::Stream ... > A stream containing two documents
puts tree.to_yaml
# =>
# ---...