PHP 8.2.31
Preview: alias.rb Size: 495 B
/proc/thread-self/root/opt/alt/ruby23/lib64/ruby/2.3.0/psych/nodes/alias.rb

# frozen_string_literal: false
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
495 B lrw-r--r-- 2023-07-26 14:39:32
Edit Download
1.78 KB lrw-r--r-- 2023-07-26 14:39:32
Edit Download
1.51 KB lrw-r--r-- 2023-07-26 14:39:32
Edit Download
1.26 KB lrw-r--r-- 2023-07-26 14:39:32
Edit Download
1.60 KB lrw-r--r-- 2023-07-26 14:39:32
Edit Download
2.00 KB lrw-r--r-- 2023-07-26 14:39:32
Edit Download
996 B lrw-r--r-- 2023-07-26 14:39:32
Edit Download

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