Class: Ippon::Migrator::Migration Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/ippon/migrator.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Stores information about a single migration. This is currenly not exposed as a part of the public API.

Instance Attribute Summary collapse

Instance Attribute Details

#codeProc

Returns migration code.

Returns:

  • (Proc)

    migration code


144
# File 'lib/ippon/migrator.rb', line 144

Migration = Struct.new(:name, :code)

#nameString

Returns migration name.

Returns:

  • (String)

    migration name


144
# File 'lib/ippon/migrator.rb', line 144

Migration = Struct.new(:name, :code)