Sha256: b7877ef5f3ee389caedd9667051d738aca842e8e6cc9a056ac17df91f3cb98a0
Contents?: true
Size: 476 Bytes
Versions: 4
Compression:
Stored size: 476 Bytes
Contents
$:.unshift File.dirname(__FILE__) class Usher module Interface autoload :Rails2Interface, 'interface/rails2_interface' autoload :MerbInterface, 'interface/merb_interface' autoload :RackInterface, 'interface/rack_interface' def self.for(type, &blk) case type when :rails2 Rails2Interface.new(&blk) when :merb MerbInterface.new(&blk) when :rack RackInterface.new(&blk) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
joshbuddy-usher-0.3.5 | lib/usher/interface.rb |
joshbuddy-usher-0.3.6 | lib/usher/interface.rb |
joshbuddy-usher-0.4.0 | lib/usher/interface.rb |
joshbuddy-usher-0.4.1 | lib/usher/interface.rb |