Sha256: 9d2b6445c995ca48c989d5480ae2fddb05f894274c8e5be8557ae55e7e64dfd7

Contents?: true

Size: 358 Bytes

Versions: 2

Compression:

Stored size: 358 Bytes

Contents

module Columns

  # Extends a content (column names and types) with some meta data.
  class ExtendedContent

    # Public: Get the extended content.
    #
    # content - The String content (from a ModelData object).
    #
    # Returns the String extended content.
    def self.from(content)
      "# == Schema Information\n#\n#{content}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
columns-0.1.0 lib/columns/extended_content.rb
columns-0.0.1 lib/columns/extended_content.rb