diff options
Diffstat (limited to 'lib/oxidized.rb')
-rw-r--r-- | lib/oxidized.rb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/oxidized.rb b/lib/oxidized.rb index 61948ff..df30602 100644 --- a/lib/oxidized.rb +++ b/lib/oxidized.rb @@ -1,6 +1,17 @@ module Oxidized class OxidizedError < StandardError; end - Encoding.default_external = 'UTF-8' - Directory = File.expand_path File.join File.dirname(__FILE__), '../' + Directory = File.expand_path File.join File.dirname(__FILE__), '../' require 'oxidized/core' + + def self.asetus + @@asetus + end + + def self.asetus=(val) + @@asetus = val + end + + def self.config + asetus.cfg + end end |