Skip to content
This repository has been archived by the owner on Jan 6, 2018. It is now read-only.

burke/packages

Repository files navigation

Packages

This is a proof-of-concept package system for Ruby. It doesn't Just Work™, as it relies on a feature not present in ruby (burke/ruby#1).

See test/packages_test.rb for an example of how this works. The general feel is:

#### a.rb
package 'a'
import 'b'

module A
  def self.x
    B.y # ok
    C.z # raises VisibilityError
  end
end

#### b.rb
package 'b'
module B
  def self.y; end
end

#### c.rb
package 'c'
module C
  def self.z; end
end

License

The gem is available as open source under the terms of the MIT License.

About

[abandoned]

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published