PHP 8.2.31
Preview: alias.rb Size: 523 B
/proc/thread-self/root/opt/alt/ruby27/share/ruby/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

      def alias?; true; end
    end
  end
end

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
523 B lrw-r--r-- 2023-06-06 14:54:34
Edit Download
1.81 KB lrw-r--r-- 2023-06-06 14:54:34
Edit Download
1.54 KB lrw-r--r-- 2023-06-06 14:54:34
Edit Download
1.76 KB lrw-r--r-- 2023-06-06 14:54:34
Edit Download
1.63 KB lrw-r--r-- 2023-06-06 14:54:34
Edit Download
2.03 KB lrw-r--r-- 2023-06-06 14:54:34
Edit Download
1.00 KB lrw-r--r-- 2023-06-06 14:54:34
Edit Download

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