class SmashingDocs::TestCase
Attributes
created_at[R]
information[R]
request[R]
response[R]
template[RW]
Public Class Methods
new(request, response, information = {})
click to toggle source
# File lib/test_case.rb, line 7 def initialize(request, response, information = {}) @request, @response, @information = request, response, information @created_at = Time.now end
Public Instance Methods
compile_template()
click to toggle source
# File lib/test_case.rb, line 12 def compile_template ERB.new(template).result binding end