Sha256: d5e203bfb27989576f0f7bd1d36bbeeaaf1600916ff636e524712c9c2fbf2f14

Contents?: true

Size: 1.28 KB

Versions: 7

Compression:

Stored size: 1.28 KB

Contents

--- 
test: One Element Mapping 
brief: | 
    A mapping with one key/value pair 
yaml: | 
    --- 
    foo: bar 
perl: | 
    {foo => 'bar'} 
ruby: |
    { 'foo' => 'bar' }
 
--- 
test: Multi Element Mapping 
brief: | 
    More than one key/value pair 
yaml: | 
    --- 
    red: baron 
    white: walls 
    blue: berries 
perl: | 
    { 
     red => 'baron', 
     white => 'walls', 
     blue => 'berries', 
    } 
ruby: | 
    { 
     'red' => 'baron', 
     'white' => 'walls', 
     'blue' => 'berries', 
    } 
 
--- 
test: Values aligned 
brief: | 
    Often times human editors of documents will align the values even 
    though YAML emitters generally don't. 
yaml: | 
    --- 
    red:   baron 
    white: walls 
    blue:  berries 
perl: | 
    { 
     red => 'baron', 
     white => 'walls', 
     blue => 'berries', 
    } 
ruby: | 
    { 
     'red' => 'baron', 
     'white' => 'walls', 
     'blue' => 'berries', 
    } 
 
--- 
test: Colons aligned 
brief: | 
    Spaces can come before the ': ' key/value separator. 
yaml: | 
    --- 
    red   : baron 
    white : walls 
    blue  : berries 
perl: | 
    { 
     red => 'baron', 
     white => 'walls', 
     blue => 'berries', 
    } 
ruby: | 
    { 
     'red' => 'baron', 
     'white' => 'walls', 
     'blue' => 'berries', 
    } 

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mkrf-0.1.0 test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockMapping.yml
mkrf-0.1.1 test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockMapping.yml
mkrf-0.1.2 test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockMapping.yml
mkrf-0.2.0 test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockMapping.yml
mkrf-0.2.1 test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockMapping.yml
mkrf-0.2.2 test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockMapping.yml
mkrf-0.2.3 test/sample_files/syck-0.55/ext/ruby/yts/YtsBlockMapping.yml