Sha256: 8887161ce7754f19f1c24119e9c5b5d3409da683c2f3d76cd439c9b37edcfa88
Contents?: true
Size: 573 Bytes
Versions: 6973
Compression:
Stored size: 573 Bytes
Contents
# frozen_string_literal: true module Parser module Source class Map::Constant < Map attr_reader :double_colon attr_reader :name attr_reader :operator def initialize(double_colon, name, expression) @double_colon, @name = double_colon, name super(expression) end ## # @api private # def with_operator(operator_l) with { |map| map.update_operator(operator_l) } end protected def update_operator(operator_l) @operator = operator_l end end end end
Version data entries
6,973 entries across 6,950 versions & 50 rubygems