Class: RedmineNonprojectModules::Patches::Redmine::ControllerEntry
- Inherits:
-
Object
- Object
- RedmineNonprojectModules::Patches::Redmine::ControllerEntry
- Defined in:
- lib/redmine_nonproject_modules/patches/redmine/menu_manager_patch.rb
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(controller, options = {}) ⇒ ControllerEntry
constructor
A new instance of ControllerEntry.
- #permissions ⇒ Object
Constructor Details
#initialize(controller, options = {}) ⇒ ControllerEntry
Returns a new instance of ControllerEntry.
23 24 25 26 |
# File 'lib/redmine_nonproject_modules/patches/redmine/menu_manager_patch.rb', line 23 def initialize(controller, = {}) @controller = controller.to_s = .with_indifferent_access end |
Instance Method Details
#build ⇒ Object
28 29 30 |
# File 'lib/redmine_nonproject_modules/patches/redmine/menu_manager_patch.rb', line 28 def build [build_name, build_url, ] end |
#permissions ⇒ Object
32 33 34 |
# File 'lib/redmine_nonproject_modules/patches/redmine/menu_manager_patch.rb', line 32 def () end |