Sha256: fea1a83def64f6de0cf7de99a2e74ffaf1ab79c15b51eec499afb26053dad2f7

Contents?: true

Size: 346 Bytes

Versions: 8

Compression:

Stored size: 346 Bytes

Contents

module Rbcli::Configurate
	def self.storage &block
		Rbcli::ConfigurateStorage.configure &block
	end
end


module Rbcli::ConfigurateStorage
	@data = {
			localstate: nil
	}

	def self.configure &block
		@self_before_instance_eval = eval "self", block.binding
		instance_eval &block
	end

	##
	# Data Retrieval
	##
	def self.data
		@data
	end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rbcli-0.1.10 lib/rbcli/stateful_systems/configuratestorage.rb
rbcli-0.1.9 lib/rbcli/stateful_systems/configuratestorage.rb
rbcli-0.1.8 lib/rbcli/stateful_systems/configuratestorage.rb
rbcli-0.1.7 lib/rbcli/stateful_systems/configuratestorage.rb
rbcli-0.1.6 lib/rbcli/stateful_systems/configuratestorage.rb
rbcli-0.1.5 lib/rbcli/stateful_systems/configuratestorage.rb
rbcli-0.1.4 lib/rbcli/stateful_systems/configuratestorage.rb
rbcli-0.1.3 lib/rbcli/stateful_systems/configuratestorage.rb