app/controllers/anoubis/output/frame.rb
##
# Generates hash representation of output class
# @return [Hash] hash representation of all data
Generates hash representation of output class
Generates hash representation of output class
def to_h
        result = {
            tab: self.tab,
            title: self.title,
            buttons: [],
            filter: self.filter,
            export: self.export
        }
        result[:hint] = self.hint if self.hint != ''
        self.button_items.each { |item|
          result[:buttons].push(item.to_h) if item
        }
        result
      end
def to_h result = { tab : self . tab , title : self . title , buttons : [ ] , filter : self . filter , export : self . export } result [ :hint ] = self . hint if self . hint != '' self . button_items . each { | item | result [ :buttons ] . push ( item . to_h ) if item } result end
Generates hash representation of output class
Generates hash representation of output class
hash representation of all data
hash representation of all data
Hash