Sha256: 8e6840668ebc86a187050492c4ae0be800ab508ad349b6ce802e48802a8bda6c

Contents?: true

Size: 435 Bytes

Versions: 6973

Compression:

Stored size: 435 Bytes

Contents

# frozen_string_literal: true

module Parser
  module Source

    class Map::Definition < Map
      attr_reader :keyword
      attr_reader :operator
      attr_reader :name
      attr_reader :end

      def initialize(keyword_l, operator_l, name_l, end_l)
        @keyword  = keyword_l
        @operator = operator_l
        @name     = name_l
        @end      = end_l

        super(@keyword.join(@end))
      end
    end

  end
end

Version data entries

6,973 entries across 6,950 versions & 50 rubygems

Version Path
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/parser-2.5.3.0/lib/parser/source/map/definition.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/parser-2.5.3.0/lib/parser/source/map/definition.rb
parser-2.5.3.0 lib/parser/source/map/definition.rb
dirwatch-0.0.9 vendor/bundle/ruby/2.5.0/gems/parser-2.5.1.2/lib/parser/source/map/definition.rb
parser-2.5.1.2 lib/parser/source/map/definition.rb
parser-2.5.1.1 lib/parser/source/map/definition.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/parser-2.5.1.0/lib/parser/source/map/definition.rb
parser-2.5.1.0 lib/parser/source/map/definition.rb
parser-2.5.0.5 lib/parser/source/map/definition.rb
parser-2.5.0.3 lib/parser/source/map/definition.rb
parser-2.5.0.2 lib/parser/source/map/definition.rb
parser-2.5.0.1 lib/parser/source/map/definition.rb
parser-2.5.0.0 lib/parser/source/map/definition.rb