Sha256: 47855df1450ccf4552a94536df2e3137f81dabbbb3e7f23e50acd88b4230663b

Contents?: true

Size: 273 Bytes

Versions: 5

Compression:

Stored size: 273 Bytes

Contents

module Aua::Agents::AllMite
  
  PATTERN = /^All\.mite\-v([\d\.]+)/
  
  def self.extend?(agent)
    agent.app =~ PATTERN
  end
  
  def type
    :ApiClient
  end
  
  def name
    @name ||= :"All.mite"
  end
  
  def version
    @version ||= app =~ PATTERN && $1
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aua-mite-0.0.5 lib/aua-mite/agents/all_mite.rb
aua-mite-0.0.4 lib/aua-mite/agents/all_mite.rb
aua-mite-0.0.3 lib/aua-mite/agents/all_mite.rb
aua-mite-0.0.2 lib/aua-mite/agents/all_mite.rb
aua-mite-0.0.1 lib/aua-mite/agents/all_mite.rb