Sha256: 45e76152d293b8e39ed382ed9d3b887a00da22f62b51b37502ac559068cb9f4a

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

require 'eac_launcher/stereotype'

module EacLauncher
  module Stereotypes
    class RedminePlugin
      include EacLauncher::Stereotype

      class << self
        def match?(path)
          File.exist?(path.real.subpath('init.rb'))
        end

        def color
          :light_magenta
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eac_launcher-0.6.0 lib/eac_launcher/stereotypes/redmine_plugin.rb