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-12 20:59:17 +02:00
|
|
|
get_function = Virtual::Method.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-12 20:59:17 +02:00
|
|
|
set_function = Virtual::Method.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
|