rubyx/lib/boot/string.rb
Torsten Ruger 525f9d45c5 rename
2014-06-26 17:52:15 +03:00

16 lines
537 B
Ruby

module Boot
class String
module ClassMethods
def get context , index = Virtual::Integer
get_function = Virtual::Function.new(:get , Virtual::Integer , [ Virtual::Integer] , Virtual::Integer )
return get_function
end
def set context , index = Virtual::Integer , char = Virtual::Integer
set_function = Virtual::Function.new(:set , Virtual::Integer ,[Virtual::Integer, Virtual::Integer] , Virtual::Integer )
return set_function
end
end
extend ClassMethods
end
end