How is the Scriptable Object "scriptable"?

I have been wondering about the Scriptable Object for a while; I understand that you can create instances of it, and create it as assets, but why is it called scriptable object, and how do you write in a script in it?

see What is the purpose of ScriptableObject versus normal class? - Questions & Answers - Unity Discussions for an explanation

It's called a scriptable object because it's a unity object which contains your own code, simple as that

class MyScriptableObject extends ScriptableObject
{
    var exampleVariable = "Moo";

    function ExampleFunction()
    {
    }

    //whatever else you want in here
}