Skip to content
Permalink
Browse files
[Truffle] Move ModuleChain to its own file.
  • Loading branch information
chrisseaton committed Oct 25, 2014
1 parent b160b2d commit 9bae5afd737a5cce591519d7b0d6c5ee39357afa
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
@@ -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();
}
@@ -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.