module Luruju class Configuration include Configuratable define_config :access_jruby_with, :default => :drb, :validate => lambda{|val|[:drb,:command].include?(val)} define_config :drb_port, :default => 3937, :validate => lambda{|val|val.to_i > 0} define_config :use_jude_cache, :default => true, :validate => lambda{|val|[true,false].include?(val)} end end