Parent

Included Modules

Files

Class/Module Index [+]

Quicksearch

RuboCop::Cop::Style::AccessorMethodName

This cop makes sure that accessor methods are named properly.

@example

# bad
def set_attribute(value) ...

# good
def attribute=(value)

# bad
def get_attribute ...

# good
def attribute ...

[Validate]

Generated with the Darkfish Rdoc Generator 2.