Class: Ast::Merge::RawMergeChange
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::RawMergeChange
- 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.
-
#side ⇒ Object
Returns the value of attribute side.
-
#source_change_set_id ⇒ Object
Returns the value of attribute source_change_set_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
330 331 332 |
# File 'lib/ast/merge.rb', line 330 def change_id @change_id end |
#class_id ⇒ Object
Returns the value of attribute class_id
330 331 332 |
# File 'lib/ast/merge.rb', line 330 def class_id @class_id end |
#content_hash ⇒ Object
Returns the value of attribute content_hash
330 331 332 |
# File 'lib/ast/merge.rb', line 330 def content_hash @content_hash end |
#kind ⇒ Object
Returns the value of attribute kind
330 331 332 |
# File 'lib/ast/merge.rb', line 330 def kind @kind end |
#parent_class_id ⇒ Object
Returns the value of attribute parent_class_id
330 331 332 |
# File 'lib/ast/merge.rb', line 330 def parent_class_id @parent_class_id end |
#predecessor_class_id ⇒ Object
Returns the value of attribute predecessor_class_id
330 331 332 |
# File 'lib/ast/merge.rb', line 330 def predecessor_class_id @predecessor_class_id end |
#side ⇒ Object
Returns the value of attribute side
330 331 332 |
# File 'lib/ast/merge.rb', line 330 def side @side end |
#source_change_set_id ⇒ Object
Returns the value of attribute source_change_set_id
330 331 332 |
# File 'lib/ast/merge.rb', line 330 def source_change_set_id @source_change_set_id end |
#successor_class_id ⇒ Object
Returns the value of attribute successor_class_id
330 331 332 |
# File 'lib/ast/merge.rb', line 330 def successor_class_id @successor_class_id end |
Instance Method Details
#to_h ⇒ Object
332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'lib/ast/merge.rb', line 332 def to_h { change_id: change_id, source_change_set_id: source_change_set_id, side: side, 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 |