Class: PgVersions::Notification
- Inherits:
-
Object
- Object
- PgVersions::Notification
- Defined in:
- lib/pg_versions/pg_versions.rb
Instance Attribute Summary collapse
-
#all_versions ⇒ Object
readonly
Returns the value of attribute all_versions.
-
#changed ⇒ Object
readonly
Returns the value of attribute changed.
-
#changed_versions ⇒ Object
readonly
Returns the value of attribute changed_versions.
-
#versions ⇒ Object
readonly
Returns the value of attribute versions.
Instance Method Summary collapse
-
#initialize(changed_versions, all_versions) ⇒ Notification
constructor
A new instance of Notification.
Constructor Details
#initialize(changed_versions, all_versions) ⇒ Notification
191 192 193 194 |
# File 'lib/pg_versions/pg_versions.rb', line 191 def initialize(changed_versions, all_versions) @changed_versions, @all_versions = changed_versions, all_versions @changed, @versions = changed_versions, all_versions end |
Instance Attribute Details
#all_versions ⇒ Object (readonly)
Returns the value of attribute all_versions.
190 191 192 |
# File 'lib/pg_versions/pg_versions.rb', line 190 def all_versions @all_versions end |
#changed ⇒ Object (readonly)
Returns the value of attribute changed.
190 191 192 |
# File 'lib/pg_versions/pg_versions.rb', line 190 def changed @changed end |
#changed_versions ⇒ Object (readonly)
Returns the value of attribute changed_versions.
190 191 192 |
# File 'lib/pg_versions/pg_versions.rb', line 190 def changed_versions @changed_versions end |
#versions ⇒ Object (readonly)
Returns the value of attribute versions.
190 191 192 |
# File 'lib/pg_versions/pg_versions.rb', line 190 def versions @versions end |