Skip to content

Predicate option for attribute #15

@sbellware

Description

@sbellware

attribute :some_attribute, predicate: true

Generates predicate method of the form:

def some_attribute?
  !!some_attribute
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementSomething that will be implemented to make an improvement or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions