37 lines
520 B
Ruby
37 lines
520 B
Ruby
|
# this is not a "normal" ruby file, ie it is not required by crystal
|
||
|
# instead it is parsed by crystal to define part of the crystal that runs
|
||
|
|
||
|
class BaseObject
|
||
|
|
||
|
def _set_instance_variable(name , value)
|
||
|
|
||
|
end
|
||
|
|
||
|
def _get_instance_variable( name )
|
||
|
|
||
|
end
|
||
|
|
||
|
def _get_singleton_method(name )
|
||
|
|
||
|
end
|
||
|
def _add_singleton_method(method)
|
||
|
|
||
|
end
|
||
|
def initialize
|
||
|
end
|
||
|
end
|
||
|
|
||
|
class Array < BaseObject
|
||
|
def initialize size
|
||
|
|
||
|
end
|
||
|
|
||
|
def at(index)
|
||
|
|
||
|
end
|
||
|
|
||
|
def set(index , value)
|
||
|
|
||
|
end
|
||
|
end
|