Sha256: 2dd85b8b493898b809341bb7fd768a57f60972bfb126909d80cb69a5d87f7557

Contents?: true

Size: 171 Bytes

Versions: 1

Compression:

Stored size: 171 Bytes

Contents

module HoboFields
  
  class HtmlString < String
  
    COLUMN_TYPE = :text
    
    def to_html
      self
    end

    HoboFields.register_type(:html, self)

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hobofields-0.7.5 lib/hobo_fields/html_string.rb