Sha256: 269e8b71a9bfe539e2bf7bc87e03762510dd74bf789e4ece65e956764562a4b1

Contents?: true

Size: 322 Bytes

Versions: 2

Compression:

Stored size: 322 Bytes

Contents

require "set"
require "dotremap/vkopenurldef"

module Dotremap::InvokeHistory
  def self.clear_histroy
    @@registered_applications = Set.new
  end

  def self.register(application)
    registered_applications.add(application)
  end

  def self.registered_applications
    @@registered_applications ||= Set.new
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dotremap-0.0.8 lib/dotremap/invoke_history.rb
dotremap-0.0.7 lib/dotremap/invoke_history.rb