Namespace

Methods

Merb

Public Instance Methods

app_path_for(type, *segments) click to toggle source

Construct an app-level path.

@param The type of component. @param *segments Path segments to append.

@return

 A path within the host application, with added segments.
    # File lib/generators/templates/full/app/helpers/application_helper.rb, line 47
47:       def app_path_for(type, *segments)
48:         ::<% module_name %>.app_path_for(type, *segments)
49:       end
50:       
51:       # Construct a slice-level path.
52:       # 
53:       # @param <Symbol> The type of component.
54:       # @param *segments<Array[#to_s]> Path segments to append.
55:       #
56:       # @return <String> 
57:       #  A path within the slice source (Gem), with added segments.
58:       def slice_path_for(type, *segments)
59:         ::<%= module_name %>.slice_path_for(type, *segments)
60:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.