APIdock / Ruby
/
Browse About
method

psych_yaml_as

v2_4_6 - Show latest stable - Class: Module
psych_yaml_as(url)
public

No documentation available.

# File ext/psych/lib/psych/core_ext.rb, line 22
  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

Related methods

  • Instance methods
  • <
  • <=
  • <=>
  • ==
  • ===
  • >
  • >=
  • ancestors
  • autoload
  • autoload?
  • class_eval
  • class_exec
  • class_variable_defined?
  • class_variable_get
  • class_variable_set
  • class_variables
  • const_defined?
  • const_get
  • const_missing
  • const_set
  • constants
  • deprecate_constant
  • freeze
  • include
  • include?
  • included_modules
  • initialize_clone
  • initialize_copy
  • inspect
  • instance_method
  • instance_methods
  • method_defined?
  • module_eval
  • module_exec
  • name
  • prepend
  • private_class_method
  • private_constant
  • private_instance_methods
  • private_method_defined?
  • protected_instance_methods
  • protected_method_defined?
  • psych_yaml_as
  • public_class_method
  • public_constant
  • public_instance_method
  • public_instance_methods
  • public_method_defined?
  • remove_class_variable
  • singleton_class?
  • to_s
  • yaml_as
  • Class methods
  • constants
  • nesting
  • new
  • used_modules
  • Private methods
  • privatealias_method
  • privateappend_features
  • privateattr
  • privateattr_accessor
  • privateattr_reader
  • privateattr_writer
  • privatedefine_method
  • privateextend_object
  • privateextended
  • privateincluded
  • privatemethod_added
  • privatemethod_removed
  • privatemethod_undefined
  • privatemodule_function
  • privateprepend_features
  • privateprepended
  • privateprivate
  • privateprotected
  • privatepublic
  • privaterefine
  • privateremove_const
  • privateremove_method
  • privateundef_method
  • privateusing
APIdock API Documentation Browser

© 2026 APIdock