Class: Ippon::Migrations::Migration Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/ippon/migrations.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



143
# File 'lib/ippon/migrations.rb', line 143

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

#nameString

Returns migration name.

Returns:

  • (String)

    migration name



143
# File 'lib/ippon/migrations.rb', line 143

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