Sha256: 431f0a429225ed7b3761010be952812020c53bfd3a8091aba320c0953cb09d93
Contents?: true
Size: 816 Bytes
Versions: 3
Compression:
Stored size: 816 Bytes
Contents
# stdlib require 'delegate' # gems require 'active_support/cache' require 'active_support/concern' require 'active_support/inflector' require 'active_support/proxy_object' require 'action_controller' # internal require 'oprah/controller_helpers' require 'oprah/presenter' require 'oprah/version' require 'oprah/railtie' if defined?(Rails) # The Oprah namespace. # # @since 0.0.1 module Oprah # @!visibility private def debug? !!ENV["OPRAH_DEBUG"] end # Presents a single object. # # @see Presenter.present def present(*args, **kwargs, &block) Presenter.present(*args, **kwargs, &block) end # Presents a collection of objects. # # @see Presenter.present_many def present_many(*args, **kwargs, &block) Presenter.present_many(*args, **kwargs, &block) end extend self end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
detaso-oprah-0.3.1 | lib/oprah.rb |
detaso-oprah-0.3.0 | lib/oprah.rb |
oprah-0.3.0 | lib/oprah.rb |