Module: Canopus::Workspace::TrustAware
- Defined in:
- lib/canopus/workspace/trust.rb
Instance Method Summary collapse
Instance Method Details
#show_workspace_trust ⇒ Object
67 68 69 70 71 |
# File 'lib/canopus/workspace/trust.rb', line 67 def show_workspace_trust @message = "Workspace #{@trust.status}" @window&.request_frame @trust.status end |
#toggle_workspace_trust ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/canopus/workspace/trust.rb', line 55 def toggle_workspace_trust if @trust.trusted? @trust.untrust! @message = "Workspace untrusted" else @trust.trust! @message = "Workspace trusted" end @window&.request_frame @trust.status end |
#workspace_trust ⇒ Object
53 |
# File 'lib/canopus/workspace/trust.rb', line 53 def workspace_trust = @trust |