lib/java_head/package.rb
# get all classes in the current package
#
# @return [Array<JavaHead::Class>] all classes in the current package
get all classes in the current package
get all classes in the current package
def classes
      Dir.chdir(@path) do
        Dir.glob('*.java').map! do |filename|
          self.class( filename.match(/^([A-Z][A-Za-z0-9]*)\.java$/)[1] )
        end
      end
    end
def classes Dir . chdir ( @path ) do Dir . glob ( '*.java' ) . map! do | filename | self . class ( filename . match ( / ^([A-Z][A-Za-z0-9]*) \. java$ / ) [ 1 ] ) end end end
get all classes in the current package
get all classes in the current package
all classes in the current package
all classes in the current package
Array<JavaHead::Class>