PATH: //opt/alt/ruby22/lib64/ruby/2.2.0/psych
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 class_loader.rb
↓
X
📄 coder.rb
↓
X
📄 core_ext.rb
↓
X
📄 deprecated.rb
↓
X
📄 exception.rb
↓
X
📄 handler.rb
↓
X
📁 handlers/
X
📁 json/
X
📁 nodes/
X
📄 nodes.rb
↓
X
📄 omap.rb
↓
X
📄 parser.rb
↓
X
📄 scalar_scanner.rb
↓
X
📄 set.rb
↓
X
📄 stream.rb
↓
X
📄 streaming.rb
↓
X
📄 syntax_error.rb
↓
X
📄 tree_builder.rb
↓
X
📁 visitors/
X
📄 visitors.rb
↓
X
📄 y.rb
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: core_ext.rb
class Object def self.yaml_tag url Psych.add_tag(url, self) end # FIXME: rename this to "to_yaml" when syck is removed ### # call-seq: to_yaml(options = {}) # # Convert an object to YAML. See Psych.dump for more information on the # available +options+. def psych_to_yaml options = {} Psych.dump self, options end remove_method :to_yaml rescue nil alias :to_yaml :psych_to_yaml end class Module def psych_yaml_as url return if caller[0].end_with?('rubytypes.rb') if $VERBOSE warn "#{caller[0]}: yaml_as is deprecated, please use yaml_tag" end Psych.add_tag(url, self) end remove_method :yaml_as rescue nil alias :yaml_as :psych_yaml_as end if defined?(::IRB) require 'psych/y' end
SIMPAN PERUBAHAN