class IndexShotgun::Analyzer::Response
Attributes
duplicate_index_count[RW]
message[RW]
total_index_count[RW]
total_table_count[RW]
Public Instance Methods
exit_if_failure!()
click to toggle source
# File lib/index_shotgun/analyzer.rb, line 12 def exit_if_failure! exit(1) unless successful? end
successful?()
click to toggle source
# File lib/index_shotgun/analyzer.rb, line 8 def successful? duplicate_index_count == 0 end