Sha256: c275ce6af435cb6cbc451e740b0f7941d2f8bc06a9338463ea8260f6a24039d6

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

module Depec
  module Target
    class GithubActions < Base
      #
      # @return [String]
      #
      def workflows_dir
        File.join(@dir, '.github', 'workflows')
      end

      #
      # @return [Boolean]
      #
      def used?
        File.exist?(workflows_dir)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
depec-1.0.1 lib/depec/target/github_actions.rb
depec-1.0.0 lib/depec/target/github_actions.rb