class ActiveAdmin::Dashboards::Section
def <=>(other)
def <=>(other) result = priority <=> other.priority result = name.to_s <=> other.name.to_s if result == 0 result end
def icon
def icon @options[:icon] end
def initialize(namespace, name, options = {}, &block)
def initialize(namespace, name, options = {}, &block) @namespace = namespace @name = name @options = options @block = block end
def priority
def priority @options[:priority] || DEFAULT_PRIORITY end