Class: String
- Defined in:
- lib/custom_active_record/sjis_base.rb,
lib/custom_active_record/no_id_base.rb
Instance Method Summary collapse
Instance Method Details
#to_display_encode ⇒ Object
206 207 208 |
# File 'lib/custom_active_record/sjis_base.rb', line 206 def to_display_encode NKF.nkf("-Swx --cp932", self).strip end |
#to_mssql_encode ⇒ Object
202 203 204 |
# File 'lib/custom_active_record/sjis_base.rb', line 202 def to_mssql_encode NKF.nkf("-Wsx --cp932", self) end |