Class: Columns::ExtendedContent
- Inherits:
-
Object
- Object
- Columns::ExtendedContent
- Defined in:
- lib/columns/extended_content.rb
Overview
Extends a content (column names and types) with some meta data.
Class Method Summary collapse
-
.from(content) ⇒ Object
Public: Get the extended content.
Class Method Details
.from(content) ⇒ Object
Public: Get the extended content.
content - The String content (from a ModelData object).
Returns the String extended content.
11 12 13 |
# File 'lib/columns/extended_content.rb', line 11 def self.from(content) "\n# == Schema Information\n#\n#{content}" end |