Class: MigrationHistory::ResultSet
- Inherits:
-
Object
- Object
- MigrationHistory::ResultSet
- Defined in:
- lib/migration_history/result_set.rb
Instance Attribute Summary collapse
-
#original_result ⇒ Object
Returns the value of attribute original_result.
Instance Method Summary collapse
- #format! ⇒ Object
-
#initialize(original_result) ⇒ ResultSet
constructor
A new instance of ResultSet.
Constructor Details
#initialize(original_result) ⇒ ResultSet
Returns a new instance of ResultSet.
8 9 10 |
# File 'lib/migration_history/result_set.rb', line 8 def initialize(original_result) @original_result = original_result end |
Instance Attribute Details
#original_result ⇒ Object
Returns the value of attribute original_result.
6 7 8 |
# File 'lib/migration_history/result_set.rb', line 6 def original_result @original_result end |
Instance Method Details
#format! ⇒ Object
12 13 14 15 |
# File 'lib/migration_history/result_set.rb', line 12 def format! formatter = HTMLFormatter.new formatter.format(self) end |