Class: WhoAmI::Function::ComputeComment

Inherits:
Object
  • Object
show all
Includes:
ProcParty
Defined in:
lib/who_am_i/function/compute_comment.rb

Instance Method Summary collapse

Instance Method Details

#call(extracted_class) ⇒ Object



6
7
8
9
10
# File 'lib/who_am_i/function/compute_comment.rb', line 6

def call(extracted_class)
  commenter =
    WhoAmI::Comment.new(table_name: extracted_class.table_name)
  extracted_class.computed_header = commenter.output
end