app/controllers/anoubis/etc/filter.rb
##
# Generates hash representation of all class parameters,
# @return [Hash] hash representation of all data
Generates hash representation of all class parameters.
Generates hash representation of all class parameters .
def to_h
        result = {
            data: self.data,
            hash: self.hash,
            array: self.array,
            fields: {}
        }
        self.fields.each_key do |key|
          result[:fields][key] = self.fields[key].to_h
        end
        result
      end
def to_h result = { data : self . data , hash : self . hash , array : self . array , fields : { } } self . fields . each_key do | key | result [ :fields ] [ key ] = self . fields [ key ] . to_h end result end
Generates hash representation of all class parameters,
Generates hash representation of all class parameters
hash representation of all data
hash representation of all data
Hash