Sha256: ab2e20cdf7f7ba09514bdb1fcbf9a6abd1a3adf1b0b52f133359ae07df39b44c
Contents?: true
Size: 539 Bytes
Versions: 6906
Compression:
Stored size: 539 Bytes
Contents
# frozen_string_literal: true module Parser module Source class Map::MethodDefinition < Map attr_reader :keyword attr_reader :operator attr_reader :name attr_reader :end attr_reader :assignment def initialize(keyword_l, operator_l, name_l, end_l, assignment_l, body_l) @keyword = keyword_l @operator = operator_l @name = name_l @end = end_l @assignment = assignment_l super(@keyword.join(end_l || body_l)) end end end end
Version data entries
6,906 entries across 6,897 versions & 41 rubygems