class Psych::Visitors::ToRuby
def accept target
Experimental RBS support (using type sampling data from the type_fusion
project).
def accept: (Psych::Nodes::Scalar target) -> String
This signature was generated using 1 sample from 1 application.
def accept target result = super unless @domain_types.empty? || !target.tag key = target.tag.sub(/^[!\/]*/, '').sub(/(,\d+)\//, '\1:') key = "tag:#{key}" unless key =~ /^(?:tag:|x-private)/ if @domain_types.key? key value, block = @domain_types[key] result = block.call value, result end end result = deduplicate(result).freeze if @freeze result end