2014-06-05 17:17:00 +02:00
|
|
|
module Boot
|
|
|
|
class String
|
|
|
|
module ClassMethods
|
2014-06-26 16:52:15 +02:00
|
|
|
def get context , index = Virtual::Integer
|
2014-07-16 18:24:41 +02:00
|
|
|
get_function = Virtual::MethodDefinition.new(:get , [ Virtual::Integer] , Virtual::Integer , Virtual::Integer )
|
2014-06-05 17:17:00 +02:00
|
|
|
return get_function
|
|
|
|
end
|
2014-06-26 16:52:15 +02:00
|
|
|
def set context , index = Virtual::Integer , char = Virtual::Integer
|
2014-07-16 18:24:41 +02:00
|
|
|
set_function = Virtual::MethodDefinition.new(:set , [Virtual::Integer, Virtual::Integer] , Virtual::Integer ,Virtual::Integer )
|
2014-06-05 17:17:00 +02:00
|
|
|
return set_function
|
|
|
|
end
|
|
|
|
end
|
|
|
|
extend ClassMethods
|
|
|
|
end
|
|
|
|
end
|