To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 3468a726 authored by Stefan Marr's avatar Stefan Marr
Browse files

Added SymbolPrimitives


Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent 04495acc
from som.primitives.primitives import Primitives
from som.vmobjects.primitive import Primitive
class SymbolPrimitives(Primitives):
def install_primitives(self):
def _asString(self, frame, interpreter):
rcvr = frame.pop()
frame.push(self._universe.new_string(rcvr.get_string()))
self._install_instance_primitive(Primitive("asString", self._universe, _asString))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment