Class: Refinery::Configuration

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

Instance Method Summary collapse

Instance Method Details

#on_attach(&blk) ⇒ Object



8
9
10
# File 'lib/refinery/configuration.rb', line 8

def on_attach(&blk)
  on_attach_procs << blk if blk
end

#on_attach_procsObject



4
5
6
# File 'lib/refinery/configuration.rb', line 4

def on_attach_procs
  @@on_attach_procs ||= []
end