org.jruby
Class RubyYAML

java.lang.Object
  extended by org.jruby.RubyYAML

public class RubyYAML
extends java.lang.Object

Author:
Ola Bini

Constructor Summary
RubyYAML()
           
 
Method Summary
static IRubyObject array_taguri(IRubyObject self)
           
static IRubyObject array_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject class_to_yaml(IRubyObject self, IRubyObject[] args)
           
static RubyModule createYAMLModule(Ruby runtime)
           
static IRubyObject date_taguri(IRubyObject self)
           
static IRubyObject date_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject dump_all(IRubyObject self, IRubyObject[] args)
           
static IRubyObject dump_stream(IRubyObject self, IRubyObject[] args)
           
static IRubyObject dump(IRubyObject self, IRubyObject[] args)
           
static IRubyObject each_document(IRubyObject self, IRubyObject arg, Block block)
           
static IRubyObject exception_taguri(IRubyObject self)
           
static IRubyObject exception_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject false_taguri(IRubyObject self)
           
static IRubyObject false_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject fixnum_taguri(IRubyObject self)
           
static IRubyObject float_taguri(IRubyObject self)
           
static IRubyObject hash_taguri(IRubyObject self)
           
static IRubyObject hash_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject load_documents(IRubyObject self, IRubyObject arg, Block block)
           
static IRubyObject load_file(IRubyObject self, IRubyObject arg)
           
static IRubyObject load_stream(IRubyObject self, IRubyObject arg)
           
static IRubyObject load(IRubyObject self, IRubyObject arg)
           
static IRubyObject nil_taguri(IRubyObject self)
           
static IRubyObject nil_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject numeric_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject obj_taguri(IRubyObject self)
           
static IRubyObject obj_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject obj_to_yaml_properties(IRubyObject self)
           
static IRubyObject obj_to_yaml_style(IRubyObject self)
           
static IRubyObject obj_to_yaml(IRubyObject self, IRubyObject[] args)
           
static IRubyObject quick_emit_node(IRubyObject self, IRubyObject[] args, Block block)
           
static IRubyObject quick_emit(IRubyObject self, IRubyObject[] args)
           
static IRubyObject range_taguri(IRubyObject self)
           
static IRubyObject range_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject regexp_taguri(IRubyObject self)
           
static IRubyObject regexp_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject string_is_binary(IRubyObject self)
           
static IRubyObject string_is_complex(IRubyObject self)
           
static IRubyObject string_taguri(IRubyObject self)
           
static IRubyObject string_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject struct_taguri(IRubyObject self)
           
static IRubyObject struct_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject symbol_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject time_taguri(IRubyObject self)
           
static IRubyObject time_to_yaml_node(IRubyObject self, IRubyObject arg)
           
static IRubyObject true_taguri(IRubyObject self)
           
static IRubyObject true_to_yaml_node(IRubyObject self, IRubyObject arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubyYAML

public RubyYAML()
Method Detail

createYAMLModule

public static RubyModule createYAMLModule(Ruby runtime)

dump

public static IRubyObject dump(IRubyObject self,
                               IRubyObject[] args)

dump_all

public static IRubyObject dump_all(IRubyObject self,
                                   IRubyObject[] args)

load

public static IRubyObject load(IRubyObject self,
                               IRubyObject arg)

load_file

public static IRubyObject load_file(IRubyObject self,
                                    IRubyObject arg)

each_document

public static IRubyObject each_document(IRubyObject self,
                                        IRubyObject arg,
                                        Block block)

load_documents

public static IRubyObject load_documents(IRubyObject self,
                                         IRubyObject arg,
                                         Block block)

load_stream

public static IRubyObject load_stream(IRubyObject self,
                                      IRubyObject arg)

dump_stream

public static IRubyObject dump_stream(IRubyObject self,
                                      IRubyObject[] args)

quick_emit_node

public static IRubyObject quick_emit_node(IRubyObject self,
                                          IRubyObject[] args,
                                          Block block)

quick_emit

public static IRubyObject quick_emit(IRubyObject self,
                                     IRubyObject[] args)

hash_to_yaml_node

public static IRubyObject hash_to_yaml_node(IRubyObject self,
                                            IRubyObject arg)

hash_taguri

public static IRubyObject hash_taguri(IRubyObject self)

obj_to_yaml_properties

public static IRubyObject obj_to_yaml_properties(IRubyObject self)

obj_to_yaml_style

public static IRubyObject obj_to_yaml_style(IRubyObject self)

obj_to_yaml_node

public static IRubyObject obj_to_yaml_node(IRubyObject self,
                                           IRubyObject arg)

obj_taguri

public static IRubyObject obj_taguri(IRubyObject self)

class_to_yaml

public static IRubyObject class_to_yaml(IRubyObject self,
                                        IRubyObject[] args)

obj_to_yaml

public static IRubyObject obj_to_yaml(IRubyObject self,
                                      IRubyObject[] args)

array_to_yaml_node

public static IRubyObject array_to_yaml_node(IRubyObject self,
                                             IRubyObject arg)

array_taguri

public static IRubyObject array_taguri(IRubyObject self)

struct_to_yaml_node

public static IRubyObject struct_to_yaml_node(IRubyObject self,
                                              IRubyObject arg)

struct_taguri

public static IRubyObject struct_taguri(IRubyObject self)

exception_to_yaml_node

public static IRubyObject exception_to_yaml_node(IRubyObject self,
                                                 IRubyObject arg)

exception_taguri

public static IRubyObject exception_taguri(IRubyObject self)

string_is_complex

public static IRubyObject string_is_complex(IRubyObject self)

string_is_binary

public static IRubyObject string_is_binary(IRubyObject self)

string_to_yaml_node

public static IRubyObject string_to_yaml_node(IRubyObject self,
                                              IRubyObject arg)

string_taguri

public static IRubyObject string_taguri(IRubyObject self)

symbol_to_yaml_node

public static IRubyObject symbol_to_yaml_node(IRubyObject self,
                                              IRubyObject arg)

numeric_to_yaml_node

public static IRubyObject numeric_to_yaml_node(IRubyObject self,
                                               IRubyObject arg)

range_to_yaml_node

public static IRubyObject range_to_yaml_node(IRubyObject self,
                                             IRubyObject arg)

range_taguri

public static IRubyObject range_taguri(IRubyObject self)

regexp_to_yaml_node

public static IRubyObject regexp_to_yaml_node(IRubyObject self,
                                              IRubyObject arg)

regexp_taguri

public static IRubyObject regexp_taguri(IRubyObject self)

time_to_yaml_node

public static IRubyObject time_to_yaml_node(IRubyObject self,
                                            IRubyObject arg)

time_taguri

public static IRubyObject time_taguri(IRubyObject self)

date_to_yaml_node

public static IRubyObject date_to_yaml_node(IRubyObject self,
                                            IRubyObject arg)

date_taguri

public static IRubyObject date_taguri(IRubyObject self)

fixnum_taguri

public static IRubyObject fixnum_taguri(IRubyObject self)

float_taguri

public static IRubyObject float_taguri(IRubyObject self)

true_to_yaml_node

public static IRubyObject true_to_yaml_node(IRubyObject self,
                                            IRubyObject arg)

true_taguri

public static IRubyObject true_taguri(IRubyObject self)

false_to_yaml_node

public static IRubyObject false_to_yaml_node(IRubyObject self,
                                             IRubyObject arg)

false_taguri

public static IRubyObject false_taguri(IRubyObject self)

nil_to_yaml_node

public static IRubyObject nil_to_yaml_node(IRubyObject self,
                                           IRubyObject arg)

nil_taguri

public static IRubyObject nil_taguri(IRubyObject self)


Copyright © 2002-2007 JRuby Team. All Rights Reserved.