Module: Proverbs::Contexts

Defined in:
lib/proverbs/contexts.rb

Class Method Summary collapse

Class Method Details

.included(caller) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/proverbs/contexts.rb', line 3

def self.included(caller)
  caller.instance_eval do
    alias :Background :before
    alias :Setup      :before
    alias :Teardown   :after

    alias :Feature   :context
    alias :Ability   :context
    alias :Story     :context
    alias :Workflow  :context
    alias :Component :context
  end
end