Sha256: fddee3a0d2a0411d7c9a0be032de083cfde983bdaff84bef6bcb94d2b19a8bfe
Contents?: true
Size: 636 Bytes
Versions: 5
Compression:
Stored size: 636 Bytes
Contents
# frozen_string_literal: true require "forwardable" module Pakyow module Helpers # Convenience methods for interacting with the app object. # module App extend Forwardable attr_reader :app # @!method config # Delegates to {app}. # # @see App#config def_delegators :app, :config # @!method path # @return builds the path to a named route (see {Paths#path}) # # @!method path_to # @return builds the path to a route, following a trail of names (see {Paths#path_to}) def_delegators :"app.endpoints", :path, :path_to end end end
Version data entries
5 entries across 5 versions & 1 rubygems