Module: Keyczar
- Defined in:
- lib/keyczar.rb,
lib/keyczar/signer.rb,
lib/keyczar/version.rb
Defined Under Namespace
Classes: Signer
Constant Summary collapse
- VERSION =
"0.0.3"
Class Method Summary collapse
- .load_jars! ⇒ Object
- .root ⇒ Object
-
.set_logger_properties(props_file) ⇒ nil
Nil is a good sign.
Class Method Details
.load_jars! ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/keyczar.rb', line 12 def self.load_jars! @load_jars ||= begin jars = Dir[ root + "jars/*.jar" ] jars.each { |jar| require jar } true end end |
.root ⇒ Object
8 9 10 |
# File 'lib/keyczar.rb', line 8 def self.root @root ||= Pathname(File.dirname File.(__FILE__)) end |
.set_logger_properties(props_file) ⇒ nil
Returns Nil is a good sign.
22 23 24 |
# File 'lib/keyczar.rb', line 22 def self.set_logger_properties(props_file) org.apache.log4j.PropertyConfigurator.configure(props_file.to_s) end |