Exception: Hummingbird::PlanError
- Inherits:
-
Exception
- Object
- Exception
- Hummingbird::PlanError
- Defined in:
- lib/hummingbird/plan_error.rb
Instance Attribute Summary collapse
-
#already_run_migrations ⇒ Object
readonly
Returns the value of attribute already_run_migrations.
-
#planned_files ⇒ Object
readonly
Returns the value of attribute planned_files.
Instance Method Summary collapse
-
#initialize(msg, planned_files, already_run_migrations) ⇒ PlanError
constructor
A new instance of PlanError.
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_migrations ⇒ Object (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_files ⇒ Object (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 |