Results for: "remove_const"

Initialize a new ConstantWriteNode node.

def accept: (Visitor visitor) -> void

def child_nodes: () -> Array[nil | Node]

The location of the constant name.

FOO = 1
^^^

The location of the ‘=` operator.

FOO = :bar
    ^

def operator: () -> String

Return a symbol representation of this node type. See ‘Node#type`.

Return a symbol representation of this node type. See ‘Node::type`.

Implements case-equality for the node. This is effectively == but without comparing the value of locations. Locations are checked only for presence.

Returns the list of parts for the full name of this constant. For example: [:Foo]

Returns the full name of this constant. For example: “Foo”

Calls the given block once for each element in self, passing that element as parameter asn1. If no block is given, an enumerator is returned instead.

Example

asn1_ary.each do |asn1|
  puts asn1
end

See ASN1Data#to_der for details.

Search took: 9ms  ·  Total Results: 5438