Class: ActiveReloader::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/active_reloader/configuration.rb

Constant Summary collapse

@@paths =
["app"]

Class Method Summary collapse

Class Method Details

.pathsObject



10
11
12
13
14
15
# File 'lib/active_reloader/configuration.rb', line 10

def self.paths
	if @@paths.is_a?(String)
		@@paths = [@@paths]
	end
	@@paths
end

.paths=(value) ⇒ Object



6
7
8
# File 'lib/active_reloader/configuration.rb', line 6

def self.paths=(value)
	@@paths = value
end

.update {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



17
18
19
# File 'lib/active_reloader/configuration.rb', line 17

def self.update(&block)
	yield self
end