lib/java_head/package.rb
def class(name=nil)
      return super() if name.eql? nil
      Dir.chdir @path do
        JavaHead::Class.new("#{fullname}.#{name}")
      end
    end
# return a class within the current package
#
# @param [String] name the name of the class within the package
# @return [JavaHead::Class] the child class
return a class within the current package
return a class within the current package
def class(name=nil)
      return super() if name.eql? nil
      Dir.chdir @path do
        JavaHead::Class.new("#{fullname}.#{name}")
      end
    end
def class ( name = nil ) return super ( ) if name . eql? nil Dir . chdir @path do JavaHead :: Class . new ( "#{fullname}.#{name}" ) end end
return a class within the current package
return a class within the current package
the child class
the child class
JavaHead::Class
name
name the name of the class within the package
name the name of the class within the package