lib/erlectricity.rb in erlectricity-0.2.1 vs lib/erlectricity.rb in erlectricity-1.0.0
- old
+ new
@@ -1,35 +1,32 @@
$:.unshift File.join(File.dirname(__FILE__), *%w[.. ext])
+require 'stringio'
require 'erlectricity/constants'
-
require 'erlectricity/types/new_reference'
require 'erlectricity/types/pid'
require 'erlectricity/types/function'
require 'erlectricity/types/list'
-
begin
- #try to load the decoder C extension
+ # try to load the decoder C extension
require 'decoder'
rescue LoadError
- #load the pure ruby instead
+ # fall back on the pure ruby version
require 'erlectricity/decoder'
end
require 'erlectricity/encoder'
require 'erlectricity/port'
require 'erlectricity/matcher'
-
require 'erlectricity/condition'
+require 'erlectricity/conditions/boolean'
require 'erlectricity/conditions/hash'
require 'erlectricity/conditions/static'
require 'erlectricity/conditions/type'
-
require 'erlectricity/receiver'
-
require 'erlectricity/errors/erlectricity_error'
require 'erlectricity/errors/decode_error'
require 'erlectricity/errors/encode_error'
Erl = Erlectricity
\ No newline at end of file