PHP 8.2.31
Preview: alias.rb Size: 494 B
//proc/thread-self/root/opt/alt/ruby25/lib64/ruby/2.5.0/psych/nodes/alias.rb

# frozen_string_literal: true
module Psych
  module Nodes
    ###
    # This class represents a {YAML Alias}[http://yaml.org/spec/1.1/#alias].
    # It points to an +anchor+.
    #
    # A Psych::Nodes::Alias is a terminal node and may have no children.
    class Alias < Psych::Nodes::Node
      # The anchor this alias links to
      attr_accessor :anchor

      # Create a new Alias that points to an +anchor+
      def initialize anchor
        @anchor = anchor
      end
    end
  end
end

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
494 B lrw-r--r-- 2023-07-26 14:55:49
Edit Download
1.78 KB lrw-r--r-- 2023-07-26 14:55:49
Edit Download
1.51 KB lrw-r--r-- 2023-07-26 14:55:49
Edit Download
1.57 KB lrw-r--r-- 2023-07-26 14:55:49
Edit Download
1.60 KB lrw-r--r-- 2023-07-26 14:55:49
Edit Download
2.00 KB lrw-r--r-- 2023-07-26 14:55:49
Edit Download
995 B lrw-r--r-- 2023-07-26 14:55:49
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).