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



575
576
577
# File 'lib/ast/merge.rb', line 575

def enabled
  @enabled
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



575
576
577
# File 'lib/ast/merge.rb', line 575

def name
  @name
end

#requires_diagnosticsObject

Returns the value of attribute requires_diagnostics

Returns:

  • (Object)

    the current value of requires_diagnostics



575
576
577
# File 'lib/ast/merge.rb', line 575

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



575
576
577
# File 'lib/ast/merge.rb', line 575

def requires_explicit_profile
  @requires_explicit_profile
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



575
576
577
# File 'lib/ast/merge.rb', line 575

def status
  @status
end

Instance Method Details

#to_hObject



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