abstract class Jennifer::Migration::TableBuilder::Base

Included Modules

Direct Known Subclasses

Defined in:

jennifer/migration/table_builder/base.cr

Constructors

Instance Method Summary

Instance methods inherited from module Jennifer::Support

pluralize(str : String) pluralize, singularize(str : String) singularize

Constructor Detail

def self.new(name : String | Symbol) #

[View source]

Instance Method Detail

def fields : Hash(String, Hash(Symbol, Bool | Float32 | Int32 | String | Symbol)) #

[View source]
def name : String | Symbol #

[View source]
abstract def process #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]