Class: Redcar::Project::ToggleRevealInProject
- Inherits:
-
Redcar::ProjectCommand
- Object
- Command
- Redcar::ProjectCommand
- Redcar::Project::ToggleRevealInProject
- Defined in:
- plugins/project/lib/project/commands.rb
Constant Summary
Constants included from Observable
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary (collapse)
Methods inherited from Redcar::ProjectCommand
Methods inherited from Command
active_changed, #environment, inherited, #inspect, norecord, record?, #run
Methods included from Sensitive
#active?, #sensitivities, #sensitivity_names, #sensitize
Methods included from Observable
#add_listener, #notify_listeners, #remove_listener
Instance Method Details
- (Object) execute
238 239 240 241 |
# File 'plugins/project/lib/project/commands.rb', line 238 def execute toggle = Project::Manager.reveal_files? Project::Manager.reveal_files = !toggle end |