Module: Psychgus::PsychDropIn

Included in:
Psychgus
Defined in:
lib/psychgus.rb

Overview

Note:

For devs/hacking: because extend is used, do not prefix methods with “self.”

Unnecessary Methods

All of the below methods are not needed, but are defined so that Psychgus can be a drop-in replacement for Psych.

Instead, you should probably use Psych. This is also the recommended practice in case your version of Psych defines the method differently.

Private methods of Psych are not defined.

Instance Method Summary collapse

Instance Method Details

#add_builtin_type(*args, &block) ⇒ Object

See Also:

  • Psych.add_builtin_type


756
757
758
# File 'lib/psychgus.rb', line 756

def add_builtin_type(*args,&block)
  Psych.add_builtin_type(*args,&block)
end

#add_domain_type(*args, &block) ⇒ Object

See Also:

  • Psych.add_domain_type


761
762
763
# File 'lib/psychgus.rb', line 761

def add_domain_type(*args,&block)
  Psych.add_domain_type(*args,&block)
end

#add_tag(*args) ⇒ Object

See Also:

  • Psych.add_tag


766
767
768
# File 'lib/psychgus.rb', line 766

def add_tag(*args)
  Psych.add_tag(*args)
end

#load(*args, **kargs) ⇒ Object

See Also:

  • Psych.load


771
772
773
# File 'lib/psychgus.rb', line 771

def load(*args,**kargs)
  Psych.load(*args,**kargs)
end

#load_file(*args, **kargs) ⇒ Object

See Also:

  • Psych.load_file


776
777
778
# File 'lib/psychgus.rb', line 776

def load_file(*args,**kargs)
  Psych.load_file(*args,**kargs)
end

#load_stream(*args, **kargs) ⇒ Object

See Also:

  • Psych.load_stream


781
782
783
# File 'lib/psychgus.rb', line 781

def load_stream(*args,**kargs)
  Psych.load_stream(*args,**kargs)
end

#remove_type(*args) ⇒ Object

See Also:

  • Psych.remove_type


786
787
788
# File 'lib/psychgus.rb', line 786

def remove_type(*args)
  Psych.remove_type(*args)
end

#safe_load(*args, **kargs) ⇒ Object

See Also:

  • Psych.safe_load


791
792
793
# File 'lib/psychgus.rb', line 791

def safe_load(*args,**kargs)
  Psych.safe_load(*args,**kargs)
end

#to_json(*args) ⇒ Object

See Also:

  • Psych.to_json


796
797
798
# File 'lib/psychgus.rb', line 796

def to_json(*args)
  Psych.to_json(*args)
end