app/controllers/anoubis/etc/tab_item.rb
##
# Generates hash representation of all class parameters,
# @return [Hash] hash representation of all parameters
Generates hash representation of all class parameters.
Generates hash representation of all class parameters .
def to_h
        result = {
            tab: self.tab,
            title: self.title,
            hint: self.hint,
            where: self.where,
            export: self.export,
            filter: self.filter,
            buttons: self.buttons
        }
        if self.sort
          result[:sort] = self.sort
          result[:order] = self.order if self.order != ''
        end
        result
      end
def to_h result = { tab : self . tab , title : self . title , hint : self . hint , where : self . where , export : self . export , filter : self . filter , buttons : self . buttons } if self . sort result [ :sort ] = self . sort result [ :order ] = self . order if self . order != '' end result end
Generates hash representation of all class parameters,
Generates hash representation of all class parameters
hash representation of all parameters
hash representation of all parameters
Hash