aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/safe_buffer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view/safe_buffer.rb')
-rw-r--r--actionpack/lib/action_view/safe_buffer.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/actionpack/lib/action_view/safe_buffer.rb b/actionpack/lib/action_view/safe_buffer.rb
deleted file mode 100644
index 6be05b9e1e..0000000000
--- a/actionpack/lib/action_view/safe_buffer.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-module ActionView #:nodoc:
- class SafeBuffer < String
- def <<(value)
- if value.html_safe?
- super(value)
- else
- super(ERB::Util.h(value))
- end
- end
-
- def concat(value)
- self << value
- end
-
- def html_safe?
- true
- end
-
- def html_safe!
- self
- end
-
- def to_s
- self
- end
- end
-end \ No newline at end of file