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.2.5 lib/kurchatov/plugin.rb
kurchatov-0.2.4 lib/kurchatov/plugin.rb
kurchatov-0.2.3 lib/kurchatov/plugin.rb
kurchatov-0.2.2 lib/kurchatov/plugin.rb
kurchatov-0.2.1 lib/kurchatov/plugin.rb
kurchatov-0.2.0 lib/kurchatov/plugin.rb
kurchatov-0.1.8 lib/kurchatov/plugin.rb
kurchatov-0.1.7 lib/kurchatov/plugin.rb
kurchatov-0.1.6 lib/kurchatov/plugin.rb
kurchatov-0.1.5 lib/kurchatov/plugin.rb
kurchatov-0.1.4 lib/kurchatov/plugin.rb
kurchatov-0.1.3 lib/kurchatov/plugin.rb
kurchatov-0.1.2 lib/kurchatov/plugin.rb
kurchatov-0.1.1 lib/kurchatov/plugin.rb