Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 0.775 kb
class Fancy Package {
class Dependency {
Package Dependency.
Represents a Dependency to another Package with a given version.
read_slots: ('name, 'version)
def initialize: @name version: @version ('latest);
class RubyDependency {
Same as @Fancy::Package::Dependency@, just for rubygem packages.
read_slots: ('gem_name, 'version)
def initialize: @gem_name version: @version ('latest);
def install {
Installs the RubyDependency (a RubyGem) via rbx -S gem on the system.
match @version {
case 'latest ->
System do: "rbx gem install #{@gem_name}"
case _ ->
System do: "rbx gem install -v=#{@version} #{@gem_name}"
Jump to Line
Something went wrong with that request. Please try again.