Class: Brightcontent::Resources
- Inherits:
-
Struct
- Object
- Struct
- Brightcontent::Resources
- Includes:
- Enumerable
- Defined in:
- lib/brightcontent/resources.rb
Instance Attribute Summary collapse
-
#resources ⇒ Object
Returns the value of attribute resources.
Instance Method Summary collapse
Instance Attribute Details
#resources ⇒ Object
Returns the value of attribute resources
5 6 7 |
# File 'lib/brightcontent/resources.rb', line 5 def resources @resources end |
Instance Method Details
#extra_menu ⇒ Object
13 14 15 |
# File 'lib/brightcontent/resources.rb', line 13 def drop end |
#extra_menu? ⇒ Boolean
17 18 19 |
# File 'lib/brightcontent/resources.rb', line 17 def resources.length > Brightcontent. end |
#main_menu ⇒ Object
9 10 11 |
# File 'lib/brightcontent/resources.rb', line 9 def take end |
#main_menu_count ⇒ Object
21 22 23 |
# File 'lib/brightcontent/resources.rb', line 21 def Brightcontent. - ( ? 1 : 0) end |