Sha256: f5194082fea5ee28ecf317ed835f5470ab3d408fccdcbff877ae6814950465c0

Contents?: true

Size: 432 Bytes

Versions: 16

Compression:

Stored size: 432 Bytes

Contents

require 'rails_blocks/version'
require 'rails_blocks/blocks/block'
require 'rails_blocks/configuration'
require 'rails_blocks/exceptions'
require 'rails_blocks/path'
require 'rails_blocks/engine' if defined?(Rails)

module RailsBlocks
	class << self
		attr_writer :config
	end
	
	def self.config
		@config ||= Configuration.new
	end
	
	def self.configure
		yield config
	end
	
	def self.reset
		@config = Configuration.new
	end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rails_blocks-0.7.12 lib/rails_blocks.rb
rails_blocks-0.7.11 lib/rails_blocks.rb
rails_blocks-0.7.10 lib/rails_blocks.rb
rails_blocks-0.7.9 lib/rails_blocks.rb
rails_blocks-0.7.8 lib/rails_blocks.rb
rails_blocks-0.7.7 lib/rails_blocks.rb
rails_blocks-0.7.6 lib/rails_blocks.rb
rails_blocks-0.7.5 lib/rails_blocks.rb
rails_blocks-0.7.4 lib/rails_blocks.rb
rails_blocks-0.7.3 lib/rails_blocks.rb
rails_blocks-0.7.2 lib/rails_blocks.rb
rails_blocks-0.7.1 lib/rails_blocks.rb
rails_blocks-0.6.5 lib/rails_blocks.rb
rails_blocks-0.6.4 lib/rails_blocks.rb
rails_blocks-0.5.6 lib/rails_blocks.rb
rails_blocks-0.5.4.pre.alpha.pre.2 lib/rails_blocks.rb