Sha256: d245a4c422b561833f58f2545d7765f96293f0fd792aff9830730133151a802d

Contents?: true

Size: 523 Bytes

Versions: 6264

Compression:

Stored size: 523 Bytes

Contents

# 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

Version data entries

6,264 entries across 6,261 versions & 26 rubygems

Version Path
ric-0.14.0 vendor/bundle/ruby/2.7.0/gems/psych-4.0.3/lib/psych/nodes/alias.rb
ory-client-0.0.1.alpha41 vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/alias.rb
ory-client-0.0.1.alpha40 vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/alias.rb
ory-client-0.0.1.alpha39 vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/alias.rb
ory-client-0.0.1.alpha38 vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/alias.rb
ory-client-0.0.1.alpha37 vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/alias.rb
ory-client-0.0.1.alpha36 vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/lib/psych/nodes/alias.rb
psych-4.0.3-java lib/psych/nodes/alias.rb
psych-4.0.3 lib/psych/nodes/alias.rb
ory-kratos-client-0.8.2.alpha1 vendor/bundle/ruby/2.5.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb
ory-client-0.0.1.alpha31 vendor/bundle/ruby/2.5.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb
primary_connect_proto-0.4.0 vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb
primary_connect_proto-0.3.0 vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb
primary_connect_proto-0.2.0 vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb
primary_connect_proto-0.1.0 vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb
ory-client-0.0.1.alpha30 vendor/bundle/ruby/2.5.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb
ory-client-0.0.1.alpha29 vendor/bundle/ruby/2.5.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb
primary_connect_proto-0.0.6 vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb
ory-client-0.0.1.alpha28 vendor/bundle/ruby/2.5.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb
primary_connect_proto-0.0.5 vendor/bundle/ruby/2.6.0/gems/psych-4.0.2/lib/psych/nodes/alias.rb