class ActiveSupport::SafeBuffer

Public Instance Methods

+(other) click to toggle source
# File lib/html-native-rails.rb, line 8
def +(other)
  if other.kind_of? HTMLComponent::Builder
    self.component + other
  else
    self.html_component_old_plus(other)
  end
end
Also aliased as: html_component_old_plus
<<(other) click to toggle source
# File lib/html-native-rails.rb, line 16
def <<(other)
  if other.kind_of? HTMLComponent::Builder
    self.component + other
  else
    self.html_component_old_insert(other)
  end
end
Also aliased as: html_component_old_insert
concat(other) click to toggle source
# File lib/html-native-rails.rb, line 24
def concat(other)
  if other.kind_of? HTMLComponent::Builder
    self.component + other
  else
    self.html_component_old_insert(other)
  end
end
Also aliased as: html_component_old_concat
html_component_old_concat(other)
Alias for: concat
html_component_old_insert(other)
Alias for: <<
html_component_old_plus(other)
Alias for: +