rubyx/lib/boot/string.rb

16 lines
533 B
Ruby
Raw Normal View History

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