Sha256: f880975dfebd0e6eae0ec86a490aa71fa369f41c9490084de3dadbabbb506e24
Contents?: true
Size: 301 Bytes
Versions: 28
Compression:
Stored size: 301 Bytes
Contents
describe "The defined? keyword for x-strings" do it "returns true for defined variables" do `var SomeClass = {}` defined?(`{}`).should be_true defined?(`SomeClass`).should be_true end it "retuens false for undefined variables" do defined?(`SomeBadVar`).should be_false end end
Version data entries
28 entries across 28 versions & 1 rubygems