Can asset bundles contain scripts?

I have two projects. In the first, I am creating an asset bundle that contains a prefab with a script attached.

In the second, I want to load the previously created asset bundle, instantiate the prefab, and access methods in the script. Is this possible?

It's my understanding that asset bundles do not contain executable code. That is what unity packages and .NET assemblies are for. Assemblies do not contain source code but if you have compiled .NET code that you want to re-use you can drop the assembly in the project and it will pick them up as long as there are no extraneous dependencies. This answer is also reflected in the second post of this thread. Another good thread on this is here.

Just for reference from the Unity documentation:

Including scripts in AssetBundles
http://docs.unity3d.com/Documentation/Manual/scriptsinassetbundles.html