Sha256: 43c2b44b893973c82dd98be4c3320c85b98b9ef65cae1b068b933c3c2cdfeb61
Contents?: true
Size: 379 Bytes
Versions: 8
Compression:
Stored size: 379 Bytes
Contents
require 'test_helper' describe "Nested Struct" do specify "should be accessible" do Extension.new "nested" do |e| e.sources full_dir("headers/nested_struct.h") e.namespace "nested" end require 'nested' Klass::NestedStruct.new.one.should == 1 lambda do Klass::PrivateNestedStruct.new end.should raise_error(NameError) end end
Version data entries
8 entries across 8 versions & 1 rubygems