Class: AdminStructure::Section

Inherits:
Struct
  • Object
show all
Defined in:
app/utils/admin_structure.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#counterObject

Returns the value of attribute counter

Returns:

  • (Object)

    the current value of counter



6
7
8
# File 'app/utils/admin_structure.rb', line 6

def counter
  @counter
end

#creation_pathObject

Returns the value of attribute creation_path

Returns:

  • (Object)

    the current value of creation_path



6
7
8
# File 'app/utils/admin_structure.rb', line 6

def creation_path
  @creation_path
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



6
7
8
# File 'app/utils/admin_structure.rb', line 6

def description
  @description
end

#iconObject

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



6
7
8
# File 'app/utils/admin_structure.rb', line 6

def icon
  @icon
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'app/utils/admin_structure.rb', line 6

def name
  @name
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



6
7
8
# File 'app/utils/admin_structure.rb', line 6

def path
  @path
end

#show_menu_counterObject

Returns the value of attribute show_menu_counter

Returns:

  • (Object)

    the current value of show_menu_counter



6
7
8
# File 'app/utils/admin_structure.rb', line 6

def show_menu_counter
  @show_menu_counter
end

Instance Method Details

#show_menu_counter?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'app/utils/admin_structure.rb', line 8

def show_menu_counter?
  show_menu_counter.present?
end