Sha256: 21532f69b1707344e4451bccae4ddb21e608d5bccb88a1ac56ef5b62cda08ebd
Contents?: true
Size: 362 Bytes
Versions: 6165
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true class Object def self.yaml_tag url Psych.add_tag(url, self) end ### # call-seq: to_yaml(options = {}) # # Convert an object to YAML. See Psych.dump for more information on the # available +options+. def to_yaml options = {} Psych.dump self, options end end if defined?(::IRB) require_relative 'y' end
Version data entries
6,165 entries across 6,165 versions & 19 rubygems