Sha256: 7e9be34d42d72a50faacf0492124ecc7ca5bc9f6c81dd5f442e78fa66d06dd3d

Contents?: true

Size: 487 Bytes

Versions: 7

Compression:

Stored size: 487 Bytes

Contents

module ScrewServer
  module Base
    def self.spec_base_dir=(d)
      raise "expected a directory with javascript specs under #{d}" unless File.exists?(d)
      @spec_base_dir = Pathname(d)
    end

    def self.spec_base_dir
      @spec_base_dir
    end

    def self.code_base_dir=(d)
      raise "expected a directory with javascript code under #{d}" unless File.exists?(d)
      @code_base_dir = Pathname(d)
    end

    def self.code_base_dir
      @code_base_dir
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
screw_server-0.1.14 lib/screw_server/base.rb
screw_server-0.1.13 lib/screw_server/base.rb
screw_server-0.1.12 lib/screw_server/base.rb
screw_server-0.1.11 lib/screw_server/base.rb
screw_server-0.1.10 lib/screw_server/base.rb
screw_server-0.1.9 lib/screw_server/base.rb
screw_server-0.1.8 lib/screw_server/base.rb