Module: Console1984::Ext::Irb::Commands

Includes:
Freezeable
Included in:
Commands::Decrypt, Commands::Encrypt
Defined in:
lib/console1984/ext/irb/commands.rb

Instance Method Summary collapse

Methods included from Freezeable

freeze_all, included

Instance Method Details

#decrypt!Object

Enter unprotected mode mode.



7
8
9
# File 'lib/console1984/ext/irb/commands.rb', line 7

def decrypt!
  shield.enable_unprotected_mode
end

#encrypt!Object

Enter protected mode mode.



12
13
14
# File 'lib/console1984/ext/irb/commands.rb', line 12

def encrypt!
  shield.enable_protected_mode
end