Class: NanDoc::SpecDoc::TestFrameworkDispatcher

Inherits:
Object
  • Object
show all
Defined in:
lib/nandoc/spec-doc/test-framework-dispatcher.rb

Instance Method Summary collapse

Constructor Details

#initialize(gem_root) ⇒ TestFrameworkDispatcher

Returns a new instance of TestFrameworkDispatcher.



6
7
8
9
# File 'lib/nandoc/spec-doc/test-framework-dispatcher.rb', line 6

def initialize gem_root
  require File.dirname(__FILE__)+'/mini-test.rb'
  @the_only_proxy = SpecDoc::MiniTest::Proxy.new(gem_root)
end

Instance Method Details

#get_sexp(*a) ⇒ Object



10
11
12
# File 'lib/nandoc/spec-doc/test-framework-dispatcher.rb', line 10

def get_sexp *a
  @the_only_proxy.get_sexp(*a)
end