Sha256: c6c564f5d330d6535a03fad81bcfffa2a18f326e78ff4c1309beb731564fdea8
Contents?: true
Size: 597 Bytes
Versions: 52
Compression:
Stored size: 597 Bytes
Contents
module Picky # This Module is used to install delegator methods # into the class for use with Sinatra. # module Sinatra # Privatizes app file methods. # def self.extended into private :indexing, :searching end # Delegates to Application. # def indexing options Application.indexing options end # Delegates to Application. # def searching options Application.searching options end end end # Check if toplevel Sinatra picky methods need to be installed. # if private_methods.include? :get extend Picky::Sinatra end
Version data entries
52 entries across 52 versions & 1 rubygems