Skip to content

Conversation

Sija
Copy link
Member

@Sija Sija commented Nov 22, 2022

class Foo < Ameba::Rule::Base
  properties do
    description "Disallows foos and possibly bars"
    exclude_bar false
  end
end

# This class definition adds 
# - Foo#exclude_bar (before)
# - Foo#exclude_bar? (now)

@Sija Sija added the refactor label Nov 22, 2022
@Sija Sija added this to the 1.4.0 milestone Nov 22, 2022
@Sija Sija requested a review from veelenga November 22, 2022 18:57
@Sija Sija self-assigned this Nov 22, 2022
Copy link
Member

@veelenga veelenga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Sija Sija merged commit e7a6b6b into master Nov 23, 2022
@Sija Sija deleted the Sija/refactor-base-rule branch November 23, 2022 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants