Class: Ast::Merge::RenameAwareCapability

Inherits:
Struct
  • Object
show all
Defined in:
lib/ast/merge.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#enabledObject

Returns the value of attribute enabled

Returns:

  • (Object)

    the current value of enabled



597
598
599
# File 'lib/ast/merge.rb', line 597

def enabled
  @enabled
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



597
598
599
# File 'lib/ast/merge.rb', line 597

def name
  @name
end

#requires_diagnosticsObject

Returns the value of attribute requires_diagnostics

Returns:

  • (Object)

    the current value of requires_diagnostics



597
598
599
# File 'lib/ast/merge.rb', line 597

def requires_diagnostics
  @requires_diagnostics
end

#requires_explicit_profileObject

Returns the value of attribute requires_explicit_profile

Returns:

  • (Object)

    the current value of requires_explicit_profile



597
598
599
# File 'lib/ast/merge.rb', line 597

def requires_explicit_profile
  @requires_explicit_profile
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



597
598
599
# File 'lib/ast/merge.rb', line 597

def status
  @status
end

Instance Method Details

#to_hObject



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