app/controllers/anoubis/output/basic.rb
##
# Generates hash representation of output class
# @return [Hash] hash representation of all class data
Generates hash representation of output class
Generates hash representation of output class
def to_h
        result = {
            result: self.result,
            timestamp: Time.now.to_i,
            message: message
        }
        result[:title] = self.title if self.title
        result[:tab] = self.tab if self.tab != ''
        result
      end
def to_h result = { result : self . result , timestamp : Time . now . to_i , message : message } result [ :title ] = self . title if self . title result [ :tab ] = self . tab if self . tab != '' result end
Generates hash representation of output class
Generates hash representation of output class
hash representation of all class data
hash representation of all class data
Hash