Class: Penetration::Configure

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

Class Method Summary collapse

Class Method Details

.call(&block) ⇒ Object



31
32
33
# File 'lib/penetration.rb', line 31

def self.call(&block)
  instance_eval(&block)
end

.preset(name, &block) ⇒ Object



35
36
37
# File 'lib/penetration.rb', line 35

def self.preset(name, &block)
  Preset.(name, &block) if block_given?
end