Sha256: 0088511ebc1ce0a6dea07b694c995390d49749f3966ecf7e77cdc5a880f08bc4

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

# frozen_string_literal: true

class Sinclair
  class MethodDefinition
    # @api private
    # @author darthjee
    #
    # Define a method from block
    class InstanceBlockDefinition < BlockDefinition
      private

      # @private
      #
      # Method used to define an instance method
      #
      # @return [Symbol] Always :define_method
      def method_definer
        :define_method
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinclair-1.4.2 lib/sinclair/method_definition/instance_block_definition.rb