Sha256: 4a28e47509bd833ae009c30df2b42662725d0502fd079e2cf6845af96dba08c7
Contents?: true
Size: 355 Bytes
Versions: 68
Compression:
Stored size: 355 Bytes
Contents
require 'test_helper' class BindingTest < Test::Unit::TestCase class Demo def initialize(n) @secret = n end def get_binding return binding() end end context "Binding" do context "#eval" do should "conform to doc" do assert_equal 99, Demo.new(99).get_binding.eval("@secret") end end end end
Version data entries
68 entries across 68 versions & 2 rubygems