mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/yaml/rubytypes.rb (to_yaml): added instance variable handling
for Ranges, Strings, Structs, Regexps. * lib/yaml/rubytypes.rb (to_yaml_fold): new method for setting a String's flow style. * lib/yaml.rb (YAML::object_maker): now uses Object.allocate. * ext/syck/gram.c: fixed transfer methods on structs, broke it last commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f77db2ed9c
commit
2fa9a0b08c
14 changed files with 456 additions and 311 deletions
|
|
@ -9,11 +9,11 @@
|
|||
* WARNING WARNING WARNING --- THIS IS *NOT JUST* PLAYING
|
||||
* ANYMORE! -- WHY HAS EMBRACED THIS AS THE REAL THING!
|
||||
*/
|
||||
#include "ruby.h"
|
||||
#include <syck.h>
|
||||
#include <assert.h>
|
||||
#define YAMLBYTE_UTF8
|
||||
#include "yamlbyte.h"
|
||||
#include "ruby.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#define TRACE0(a) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue