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
597 598 599 |
# File 'lib/ast/merge.rb', line 597 def enabled @enabled end |
#name ⇒ Object
Returns the value of attribute name
597 598 599 |
# File 'lib/ast/merge.rb', line 597 def name @name end |
#requires_diagnostics ⇒ Object
Returns the value of attribute requires_diagnostics
597 598 599 |
# File 'lib/ast/merge.rb', line 597 def requires_diagnostics @requires_diagnostics end |
#requires_explicit_profile ⇒ Object
Returns the value of attribute requires_explicit_profile
597 598 599 |
# File 'lib/ast/merge.rb', line 597 def requires_explicit_profile @requires_explicit_profile end |
#status ⇒ Object
Returns the value of attribute status
597 598 599 |
# File 'lib/ast/merge.rb', line 597 def status @status end |
Instance Method Details
#to_h ⇒ Object
599 600 601 602 603 604 605 606 607 |
# File 'lib/ast/merge.rb', line 599 def to_h { name: name, status: status, enabled: enabled, requires_explicit_profile: requires_explicit_profile, requires_diagnostics: requires_diagnostics } end |