class SimpleMigrator::Migration

Attributes

name[R]
proc[R]

Public Class Methods

new(name, proc) click to toggle source
# File lib/simple_migrator/migration.rb, line 5
def initialize(name, proc)
  @name = name
  @proc = proc
end

Public Instance Methods

<=>(other) click to toggle source
# File lib/simple_migrator/migration.rb, line 10
def <=>(other)
  self.name <=> other.name
end