Class: Migu::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



44
45
# File 'lib/migu.rb', line 44

def initialize
end

Instance Attribute Details

#after_hookObject

Returns the value of attribute after_hook.



42
43
44
# File 'lib/migu.rb', line 42

def after_hook
  @after_hook
end

#before_hookObject

Returns the value of attribute before_hook.



42
43
44
# File 'lib/migu.rb', line 42

def before_hook
  @before_hook
end

Instance Method Details

#after(&block) ⇒ Object



51
52
53
# File 'lib/migu.rb', line 51

def after(&block)
  @after_hook = block
end

#before(&block) ⇒ Object



47
48
49
# File 'lib/migu.rb', line 47

def before(&block)
  @before_hook = block
end