Class: Coalla::AdminStructure::Section

Inherits:
Struct
  • Object
show all
Defined in:
lib/coalla/builders/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



4
5
6
# File 'lib/coalla/builders/admin_structure.rb', line 4

def counter
  @counter
end

#creation_pathObject

Returns the value of attribute creation_path

Returns:

  • (Object)

    the current value of creation_path



4
5
6
# File 'lib/coalla/builders/admin_structure.rb', line 4

def creation_path
  @creation_path
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



4
5
6
# File 'lib/coalla/builders/admin_structure.rb', line 4

def description
  @description
end

#iconObject

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



4
5
6
# File 'lib/coalla/builders/admin_structure.rb', line 4

def icon
  @icon
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/coalla/builders/admin_structure.rb', line 4

def name
  @name
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



4
5
6
# File 'lib/coalla/builders/admin_structure.rb', line 4

def path
  @path
end

#section_nameObject

Returns the value of attribute section_name

Returns:

  • (Object)

    the current value of section_name



4
5
6
# File 'lib/coalla/builders/admin_structure.rb', line 4

def section_name
  @section_name
end

#show_menu_counterObject

Returns the value of attribute show_menu_counter

Returns:

  • (Object)

    the current value of show_menu_counter



4
5
6
# File 'lib/coalla/builders/admin_structure.rb', line 4

def show_menu_counter
  @show_menu_counter
end

Instance Method Details

#show_menu_counter?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/coalla/builders/admin_structure.rb', line 6

def show_menu_counter?
  show_menu_counter.present?
end