aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ruby19.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-05-07 15:52:27 +0100
committerLouise Crow <louise.crow@gmail.com>2015-05-07 15:52:27 +0100
commit9565fd3038751713e2a1a1da3fe246dcc6e35742 (patch)
treef4d11f58e5c1a0661abae9f0fb2ec202ca91a5d2 /lib/ruby19.rb
parentcc5dd55a9bd55dbba4dd239d3334493bae2cb3bf (diff)
parent02d53d2d80bbf267db3edf88bb4fe782e50a2906 (diff)
Merge branch 'remove-obsolete-code' into rails-3-develop
Diffstat (limited to 'lib/ruby19.rb')
-rw-r--r--lib/ruby19.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/ruby19.rb b/lib/ruby19.rb
deleted file mode 100644
index 39f48d74e..000000000
--- a/lib/ruby19.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-if RUBY_VERSION.to_f == 1.9
- class String
- # @see syck/lib/syck/rubytypes.rb
- def is_binary_data?
- self.count("\x00-\x7F", "^ -~\t\r\n").fdiv(self.size) > 0.3 || self.index("\x00") unless self.empty?
- end
- end
-end \ No newline at end of file