Sha256: ff1641c13480e98adcbd382f2837eddca7e8960d5a0167d13f85433091530dbc
Contents?: true
Size: 286 Bytes
Versions: 3
Compression:
Stored size: 286 Bytes
Contents
module SipatraJars PATH = File.expand_path(File.dirname(__FILE__)) class << self def all_jar_names @all_jar_names ||= all_jar_paths.map { |path| File::basename(path) } end def all_jar_paths @all_jar_paths ||= Dir[PATH + "/sipatra/*.jar"] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sipatra-0.1.1 | lib/sipatra-jars.rb |
sipatra-0.1.0 | lib/sipatra-jars.rb |
sipatra-0.0.3 | lib/sipatra-jars.rb |