Sha256: 3e188f7430eefa05abd61606030a7481564dd864b93f91fa4a865e30b1df415d

Contents?: true

Size: 367 Bytes

Versions: 34

Compression:

Stored size: 367 Bytes

Contents

module Kurchatov
  class Plugin

    attr_accessor :name, :ignore_errors, :always_start

    def initialize(name)
      @name = name
      @ignore_errors = false
      @always_start = false
      @stopped = false
    end

    def start!
      return if @stopped
    end

    def stop!
      @stopped = true
    end

    def stopped?
      @stopped
    end

  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
kurchatov-0.4.7 lib/kurchatov/plugin.rb
kurchatov-0.4.6 lib/kurchatov/plugin.rb
kurchatov-0.4.5 lib/kurchatov/plugin.rb
kurchatov-0.4.4 lib/kurchatov/plugin.rb
kurchatov-0.4.3 lib/kurchatov/plugin.rb
kurchatov-0.4.2 lib/kurchatov/plugin.rb
kurchatov-0.4.1 lib/kurchatov/plugin.rb
kurchatov-0.3.8 lib/kurchatov/plugin.rb
kurchatov-0.3.7 lib/kurchatov/plugin.rb
kurchatov-0.3.6 lib/kurchatov/plugin.rb
kurchatov-0.3.5 lib/kurchatov/plugin.rb
kurchatov-0.3.4 lib/kurchatov/plugin.rb
kurchatov-0.3.3 lib/kurchatov/plugin.rb
kurchatov-0.3.2 lib/kurchatov/plugin.rb
kurchatov-0.3.1 lib/kurchatov/plugin.rb
kurchatov-0.3.0 lib/kurchatov/plugin.rb
kurchatov-0.2.9 lib/kurchatov/plugin.rb
kurchatov-0.2.8 lib/kurchatov/plugin.rb
kurchatov-0.2.7 lib/kurchatov/plugin.rb
kurchatov-0.2.6 lib/kurchatov/plugin.rb