Module: Veneer::Lint::Adapter

Includes:
Base
Defined in:
lib/veneer/lint/adapter.rb

Defined Under Namespace

Modules: ClassWrapperLint, InstanceWrapperLint

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Base

#test_should_setup_the_veneer_lint_class_wrapper_with_a_klass

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
# File 'lib/veneer/lint/adapter.rb', line 6

def self.included(base)
  base.class_eval do
    include ::Veneer::Lint::Adapter::ClassWrapperLint
    include ::Veneer::Lint::Adapter::InstanceWrapperLint
  end
end

Instance Method Details

#_veneer_teardownObject



13
14
15
# File 'lib/veneer/lint/adapter.rb', line 13

def _veneer_teardown
  Veneer(@klass).destroy_all
end