Class: EJSON
- Inherits:
-
Object
- Object
- EJSON
- Extended by:
- Forwardable
- Defined in:
- lib/ejson.rb,
lib/ejson/cli.rb,
lib/ejson/encryption.rb
Defined Under Namespace
Classes: CLI, Data, Encryption
Instance Method Summary collapse
-
#initialize(public_key_file, private_key_file = nil) ⇒ EJSON
constructor
A new instance of EJSON.
- #load(json_text) ⇒ Object
Constructor Details
#initialize(public_key_file, private_key_file = nil) ⇒ EJSON
9 10 11 |
# File 'lib/ejson.rb', line 9 def initialize(public_key_file, private_key_file = nil) @encryption = Encryption.new(public_key_file, private_key_file) end |