Method: Inch::Evaluation::Grade#update

Defined in:
lib/inch/evaluation/grade.rb

#update(&block) ⇒ void

This method returns an undefined value.

Updates the grade’s configuration with the given block

Parameters:

  • block (Proc)


18
19
20
# File 'lib/inch/evaluation/grade.rb', line 18

def update(&block)
  instance_eval(&block)
end