Class | JavaClass::Dsl::LoadingClasspath |
In: |
lib/javaclass/dsl/classpath_analysers.rb
lib/javaclass/dsl/loading_classpath.rb |
Parent: | Object |
Create a lading instance of the classpath .
# File lib/javaclass/dsl/loading_classpath.rb, line 13 def initialize(classpath) unless classpath.respond_to? :load_binary raise ArgumentError, "wrong type of delegatee #{classpath.class}" end super(classpath) end
Read and disassemble the given class classname .
# File lib/javaclass/dsl/loading_classpath.rb, line 21 def load(classname) analyse(load_cp(classname, self)) end