From f2da63369fcb754e3715091cc4fd2f93db42106e Mon Sep 17 00:00:00 2001 From: Elvin Efendi Date: Tue, 27 Oct 2015 14:49:52 -0400 Subject: better test framework, more specs and Travis CI --- lib/oxidized.rb | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'lib/oxidized.rb') 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 -- cgit v1.2.1