Skip to content

Commit

Permalink
Showing 2 changed files with 22 additions and 10 deletions.
22 changes: 22 additions & 0 deletions core/src/main/java/org/jruby/truffle/runtime/ModuleChain.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved. This
* code is released under a tri EPL/GPL/LGPL license. You can use it,
* redistribute it and/or modify it under the terms of the:
*
* Eclipse Public License version 1.0
* GNU General Public License version 2
* GNU Lesser General Public License version 2.1
*/
package org.jruby.truffle.runtime;

import org.jruby.truffle.runtime.core.RubyModule;

/**
* Either an IncludedModule, a RubyClass or a RubyModule.
* Private interface, do not use outside RubyModule.
*/
public interface ModuleChain {
ModuleChain getParentModule();

RubyModule getActualModule();
}
10 changes: 0 additions & 10 deletions core/src/main/java/org/jruby/truffle/runtime/core/RubyModule.java
Original file line number Diff line number Diff line change
@@ -27,16 +27,6 @@

import java.util.*;

/**
* Either an IncludedModule, a RubyClass or a RubyModule.
* Private interface, do not use outside RubyModule.
*/
interface ModuleChain {
ModuleChain getParentModule();

RubyModule getActualModule();
}

/**
* Represents the Ruby {@code Module} class.
*/

0 comments on commit 9bae5af

Please sign in to comment.