Class: Ast::Merge::ChangeSetChange
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::ChangeSetChange
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#change_id ⇒ Object
Returns the value of attribute change_id.
-
#class_id ⇒ Object
Returns the value of attribute class_id.
-
#content_hash ⇒ Object
Returns the value of attribute content_hash.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#parent_class_id ⇒ Object
Returns the value of attribute parent_class_id.
-
#predecessor_class_id ⇒ Object
Returns the value of attribute predecessor_class_id.
-
#successor_class_id ⇒ Object
Returns the value of attribute successor_class_id.
Instance Method Summary collapse
Instance Attribute Details
#change_id ⇒ Object
Returns the value of attribute change_id
282 283 284 |
# File 'lib/ast/merge.rb', line 282 def change_id @change_id end |
#class_id ⇒ Object
Returns the value of attribute class_id
282 283 284 |
# File 'lib/ast/merge.rb', line 282 def class_id @class_id end |
#content_hash ⇒ Object
Returns the value of attribute content_hash
282 283 284 |
# File 'lib/ast/merge.rb', line 282 def content_hash @content_hash end |
#kind ⇒ Object
Returns the value of attribute kind
282 283 284 |
# File 'lib/ast/merge.rb', line 282 def kind @kind end |
#parent_class_id ⇒ Object
Returns the value of attribute parent_class_id
282 283 284 |
# File 'lib/ast/merge.rb', line 282 def parent_class_id @parent_class_id end |
#predecessor_class_id ⇒ Object
Returns the value of attribute predecessor_class_id
282 283 284 |
# File 'lib/ast/merge.rb', line 282 def predecessor_class_id @predecessor_class_id end |
#successor_class_id ⇒ Object
Returns the value of attribute successor_class_id
282 283 284 |
# File 'lib/ast/merge.rb', line 282 def successor_class_id @successor_class_id end |
Instance Method Details
#to_h ⇒ Object
284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/ast/merge.rb', line 284 def to_h { change_id: change_id, kind: kind, class_id: class_id, parent_class_id: parent_class_id, predecessor_class_id: predecessor_class_id, successor_class_id: successor_class_id, content_hash: content_hash } end |