Sha256: 7b4cb07b3d5fd30246f09fc459637d892ef69cc229702a22596fb43e74d5b231

Contents?: true

Size: 381 Bytes

Versions: 1

Compression:

Stored size: 381 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
luruju-0.2.0 lib/luruju/configuration.rb