Sha256: e969ef897ca8b1df4a33ae2e880df3e976081e0cf45cae03955085deee80c494
Contents?: true
Size: 459 Bytes
Versions: 1
Compression:
Stored size: 459 Bytes
Contents
module StringHelper def charpp(value = nil) if value Charpp.new(self, self.copy_charpp(value)) else Charpp.new(self, self.new_charpp) end end class Charpp def initialize(type, pointer) @type = type @pointer = pointer end def pointer @pointer end def value type.charpp_value(@pointer) end def delete type.delete_charpp(@pointer) @pointer = nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
crequire-0.0.1 | lib/crequire/string_helper.rb |