Sha256: 8c00d74036b5a127c8d692c2b137b6f8507b631ea41bf2f2b383e35d65291c1b

Contents?: true

Size: 419 Bytes

Versions: 3

Compression:

Stored size: 419 Bytes

Contents

# encoding: utf-8

module Devtools
  class Project

    # Base class for project initializers
    class Initializer

      attr_reader :project
      protected :project

      def initialize(project)
        @project = project
      end

      def call
        fail NotImplementedError, "#{self.class}##{__method__} must be implemented"
      end
    end # class Initializer
  end # class Project
end # module Devtools

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devtools-0.1.2 lib/devtools/project/initializer.rb
devtools-0.1.1 lib/devtools/project/initializer.rb
devtools-0.1.0 lib/devtools/project/initializer.rb