Module: StringExt

Included in:
String
Defined in:
lib/wice_grid_core_ext.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#html_safe_if_necessaryObject

:nodoc:


168
169
170
171
172
173
174
# File 'lib/wice_grid_core_ext.rb', line 168

def html_safe_if_necessary #:nodoc:
  if respond_to?(:html_safe)
    html_safe
  else
    self
  end
end