Sha256: eba82ebc275c9a2c2ba62a880ced5c9a04b119c8216299fac5d34e37113dbfa7

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 Bytes

Contents

p :loading => __FILE__
require 'mattock'

module LogicalConstruct
  module GroundControl
    class Core < Mattock::TaskLib
      include Mattock::ValiseManager
      extend Mattock::ValiseManager

      default_namespace :core
      setting(:search_paths, [rel_dir(__FILE__)])
      setting(:valise)

      def default_configuration
        super
      end

      def resolve_configuration
        self.valise = default_valise(*search_paths)
        super
      end

      def define
        in_namespace do
          desc "List the search paths for files used by ground control"
          task :search_paths do
            p valise
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logical-construct-0.0.1.localtesting lib/logical-construct/ground-control/core.rb