Exception: Hummingbird::PlanError

Inherits:
Exception
  • Object
show all
Defined in:
lib/hummingbird/plan_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, planned_files, already_run_migrations) ⇒ PlanError

Returns a new instance of PlanError.



5
6
7
8
9
# File 'lib/hummingbird/plan_error.rb', line 5

def initialize(msg,planned_files,already_run_migrations)
  super(msg)
  @planned_files = planned_files
  @already_run_migrations = already_run_migrations
end

Instance Attribute Details

#already_run_migrationsObject (readonly)

Returns the value of attribute already_run_migrations.



3
4
5
# File 'lib/hummingbird/plan_error.rb', line 3

def already_run_migrations
  @already_run_migrations
end

#planned_filesObject (readonly)

Returns the value of attribute planned_files.



3
4
5
# File 'lib/hummingbird/plan_error.rb', line 3

def planned_files
  @planned_files
end