module Humpyard
Constants
- VERSION
This is the actual version of the
Humpyardgem
Public Class Methods
base_directory()
click to toggle source
This is the path to the Humpyard gem's root directory
# File lib/humpyard.rb 15 def base_directory 16 ::File.expand_path(::File.join(::File.dirname(__FILE__), '..')) 17 end
config()
click to toggle source
To access the actual configuration of your Humpyard, you can call this.
An example would be Humpyard.config.www_prefix = 'cms/:locale/'
See Humpyard::Config for configuration options.
# File lib/humpyard.rb 32 def config 33 @config ||= Humpyard::Config.new 34 end
configure(&block)
click to toggle source
Configure the Humpyard See Humpyard::Config.configure for details
# File lib/humpyard.rb 42 def configure(&block) 43 config.configure(&block) 44 end
lib_directory()
click to toggle source
This is the path to the Humpyard gem's lib directory
# File lib/humpyard.rb 20 def lib_directory 21 ::File.expand_path(::File.join(::File.dirname(__FILE__))) 22 end
uri_parser()
click to toggle source
# File lib/humpyard.rb 36 def uri_parser 37 @uri_parser ||= Humpyard::UriParser 38 end