Sha256: 08ef6741d1b3f94791c52aa56caa29624b18a9fadb78fdf8e717e058f97e848b
Contents?: true
Size: 504 Bytes
Versions: 27
Compression:
Stored size: 504 Bytes
Contents
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 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
27 entries across 27 versions & 1 rubygems