Submit
Path:
~
/
/
opt
/
alt
/
ruby25
/
lib64
/
ruby
/
2.5.0
/
psych
/
nodes
/
File Content:
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
Submit
FILE
FOLDER
Name
Size
Permission
Action
alias.rb
494 bytes
0644
document.rb
1825 bytes
0644
mapping.rb
1546 bytes
0644
node.rb
1612 bytes
0644
scalar.rb
1637 bytes
0644
sequence.rb
2049 bytes
0644
stream.rb
995 bytes
0644
N4ST4R_ID | Naxtarrr