projects
/
feedcatcher.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Deleted unused ./test directory
[feedcatcher.git]
/
core_ext
/
string
/
xchar.rb
1
begin
2
# See http://bogomips.org/fast_xs/ by Eric Wong
3
require
'fast_xs'
4
5
class
String
6
alias_method
:original_xs
,
:to_xs
if
method_defined
?(
:to_xs
)
7
alias_method
:to_xs
,
:fast_xs
8
end
9
rescue
LoadError
10
# fast_xs extension unavailable.
11
end