Current example

Is it possible to retrieve the example that is currently running?

On Mar 23, 2011, at 8:03 AM, Michael G. wrote:

Is it possible to retrieve the example that is currently running?

describe “an example” do
it “knows itself as example” do
example.description.should eq(“knows itself as example”)
end
end

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs