Module: Spinach::DSL

Included in:
FeatureSteps
Defined in:
lib/spinach/dsl.rb

Overview

Spinach DSL aims to provide an easy way to define steps and hooks into your feature classes.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary (collapse)

Class Method Details

+ (Object) included(base)

Parameters:

  • base (Class)

    The host class.



10
11
12
13
14
15
# File 'lib/spinach/dsl.rb', line 10

def self.included(base)
  base.class_eval do
    include InstanceMethods
    extend ClassMethods
  end
end