W3cubDocs

/Padrino

Class: Padrino::SafeBuffer

Inherits:
String

Overview

Padrino::SafeBuffer is based on ActiveSupport::SafeBuffer

Defined Under Namespace

Classes: SafeConcatError

Constant Summary

UNSAFE_STRING_METHODS =
%w(
  capitalize chomp chop delete downcase gsub lstrip next reverse rstrip
  slice squeeze strip sub succ swapcase tr tr_s upcase
)

Instance Method Summary

Methods inherited from String

#camelize, #classify, #colorize, #constantize, #html_safe, #pluralize, #underscore

Constructor Details

#initialize(str = "") ⇒ SafeBuffer

Instance Method Details

#%(args) ⇒ Object

#+(other) ⇒ Object

#[](*args) ⇒ Object

#clone_empty ⇒ Object

#concat(value) ⇒ Object Also known as: <<

#encode_with(coder) ⇒ Object

#html_safe? ⇒ Boolean

#initialize_copy(other) ⇒ Object

#prepend(value) ⇒ Object

#safe_concat(value) ⇒ Object

Raises:

#to_param ⇒ Object

#to_s ⇒ Object

© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/SafeBuffer