Class: Ast::Merge::RenameAwareCapability
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::RenameAwareCapability
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#name ⇒ Object
Returns the value of attribute name.
-
#requires_diagnostics ⇒ Object
Returns the value of attribute requires_diagnostics.
-
#requires_explicit_profile ⇒ Object
Returns the value of attribute requires_explicit_profile.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled
575 576 577 |
# File 'lib/ast/merge.rb', line 575 def enabled @enabled end |
#name ⇒ Object
Returns the value of attribute name
575 576 577 |
# File 'lib/ast/merge.rb', line 575 def name @name end |
#requires_diagnostics ⇒ Object
Returns the value of attribute requires_diagnostics
575 576 577 |
# File 'lib/ast/merge.rb', line 575 def requires_diagnostics @requires_diagnostics end |
#requires_explicit_profile ⇒ Object
Returns the value of attribute requires_explicit_profile
575 576 577 |
# File 'lib/ast/merge.rb', line 575 def requires_explicit_profile @requires_explicit_profile end |
#status ⇒ Object
Returns the value of attribute status
575 576 577 |
# File 'lib/ast/merge.rb', line 575 def status @status end |
Instance Method Details
#to_h ⇒ Object
577 578 579 580 581 582 583 584 585 |
# File 'lib/ast/merge.rb', line 577 def to_h { name: name, status: status, enabled: enabled, requires_explicit_profile: requires_explicit_profile, requires_diagnostics: requires_diagnostics } end |