If I have an example such as the following:
describe "A flux capacitor" do
it "should flux a lot" do
# how can I access the string object "A flux capacitor" in here???
...
end
end
How can I access the described string object "A flux capacitor"? I've tried a few permutations of 'described_type' and 'described_class' Such as:
self.described_type.to_s
But these always return nothing. What am I doing wrong?
Thanks, -Bill