class YARP::KeywordHashNode
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/yarp/node.rbs class YARP::KeywordHashNode < YARP::Node def accept: (Analyzer::Visitor visitor) -> untyped end
^^^^
foo(a: b)
Represents a hash literal without opening and closing braces.
def accept(visitor)
Experimental RBS support (using type sampling data from the type_fusion
project).
def accept: (Analyzer::Visitor visitor) -> untyped
This signature was generated using 1 sample from 1 application.
def accept(visitor) visitor.visit_keyword_hash_node(self) end
def child_nodes
def child_nodes [*elements] end
def deconstruct_keys(keys)
def deconstruct_keys(keys) { elements: elements, location: location } end
def initialize(elements, location)
def initialize(elements, location) @elements = elements @location = location end