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

Version Path
cybrid_api_bank_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/parser-3.3.7.0/lib/parser/source/map/method_definition.rb
cybrid_api_id_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/parser-3.3.7.0/lib/parser/source/map/method_definition.rb
cybrid_api_organization_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/parser-3.3.7.0/lib/parser/source/map/method_definition.rb
cybrid_api_bank_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/parser-3.3.7.0/lib/parser/source/map/method_definition.rb
cybrid_api_id_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/parser-3.3.7.0/lib/parser/source/map/method_definition.rb
cybrid_api_organization_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/parser-3.3.7.0/lib/parser/source/map/method_definition.rb
cybrid_api_bank_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/parser-3.3.7.0/lib/parser/source/map/method_definition.rb
cybrid_api_organization_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/parser-3.3.7.0/lib/parser/source/map/method_definition.rb
cybrid_api_id_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/parser-3.3.7.0/lib/parser/source/map/method_definition.rb
ory-client-1.16.2 vendor/bundle/ruby/3.1.0/gems/parser-3.3.7.0/lib/parser/source/map/method_definition.rb
parser-3.3.7.0 lib/parser/source/map/method_definition.rb
avalara_sdk-24.12.2 vendor/bundle/ruby/2.7.0/gems/parser-3.1.2.0/lib/parser/source/map/method_definition.rb
cybrid_api_bank_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/method_definition.rb
cybrid_api_organization_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/method_definition.rb
cybrid_api_id_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/method_definition.rb
cybrid_api_bank_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/method_definition.rb
cybrid_api_id_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/method_definition.rb
cybrid_api_organization_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/parser-3.3.6.0/lib/parser/source/map/method_definition.rb
ory-client-1.16.1 vendor/bundle/ruby/3.1.0/gems/parser-3.3.6.0/lib/parser/source/map/method_definition.rb
ory-client-1.16.0 vendor/bundle/ruby/3.1.0/gems/parser-3.3.6.0/lib/parser/source/map/method_definition.rb