Class: RuboCop::Cop::Kata::BuilderNoun

Inherits:
Base
  • Object
show all
Defined in:
lib/rubocop/cop/kata/builder_noun.rb

Constant Summary collapse

MSG =
"A builder is named for what it returns: `%s`, not `%s`."

Instance Method Summary collapse

Instance Method Details

#on_def(node) ⇒ Object



6
# File 'lib/rubocop/cop/kata/builder_noun.rb', line 6

def on_def(node) = check(node)

#on_defs(node) ⇒ Object



8
# File 'lib/rubocop/cop/kata/builder_noun.rb', line 8

def on_defs(node) = check(node)