Class: WhoAmI::Comment

Inherits:
Object
  • Object
show all
Defined in:
lib/who_am_i/comment.rb

Instance Method Summary collapse

Constructor Details

#initialize(table_name:) ⇒ Comment

Returns a new instance of Comment.



3
4
5
# File 'lib/who_am_i/comment.rb', line 3

def initialize(table_name:)
  @model_info = TableInfo.new(table_name)
end

Instance Method Details

#outputObject



7
8
9
# File 'lib/who_am_i/comment.rb', line 7

def output
  output_header + output_schema + output_indices
end