class Tryouts::Drill::Dream
Contains the expected response of a Drill
= Dream
def self.from_block(definition)
def self.from_block(definition) d = Tryouts::Drill::Dream.new d.from_block definition d end
def ==(reality)
def ==(reality) Response.compare(self, reality) end
def from_block(definition)
def from_block(definition) instance_eval &definition self end
def inline(val=nil)
def inline(val=nil) lines = (val.split($/) || []) lines.shift if lines.first.strip == "" lines.pop if lines.last.strip == "" lines end