Module: Rapid::Spec::Template::ClassMethods

Defined in:
lib/rapid/spec/template.rb

Instance Method Summary collapse

Instance Method Details

#template_spec(filename) ⇒ Object



56
57
58
59
60
61
62
63
64
65
# File 'lib/rapid/spec/template.rb', line 56

def template_spec filename
  templates_path, template_path, template_name = Rapid::Spec::Template.find filename
  
  before do
    @templates_path = templates_path
    @template_path = template_path
    @template_name = template_name
  end
  
end