A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.ruby-lang.org/en/3.0/Psych/Nodes/Alias.html below:

class Psych::Nodes::Alias - RDoc Documentation

class Psych::Nodes::Alias

This class represents a YAML Alias. It points to an anchor.

A Psych::Nodes::Alias is a terminal node and may have no children.

Attributes

anchor[RW]

The anchor this alias links to

Public Class Methods

new(anchor) click to toggle source

Create a new Alias that points to an anchor

# File ext/psych/lib/psych/nodes/alias.rb, line 14
def initialize anchor
  @anchor = anchor
end
Public Instance Methods

alias?() click to toggle source

# File ext/psych/lib/psych/nodes/alias.rb, line 18
def alias?; true; end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4