Sha256: 98c88faa618cba8a29912e36a6d65de36b94c64d2bf8b0bd4e3b74fecc3777e0
Contents?: true
Size: 366 Bytes
Versions: 10
Compression:
Stored size: 366 Bytes
Contents
describe Musterb::BindingExtractor do it "can pull out local variables from the binding" do foo = "bar" extractor = Musterb::BindingExtractor.new binding extractor["foo"].should eq "bar" end it "returns nil if the local variable cannot be found" do extractor = Musterb::BindingExtractor.new binding extractor["foo"].should be_nil end end
Version data entries
10 entries across 10 versions & 1 rubygems