Sha256: e0bf77d9227f1f08d659eb3389783c933056b7ccfb9b17976f183dd7f920b1ed
Contents?: true
Size: 839 Bytes
Versions: 2
Compression:
Stored size: 839 Bytes
Contents
# stdlib require 'forwardable' require 'singleton' # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oprah-0.2.1 | lib/oprah.rb |
oprah-0.2.0 | lib/oprah.rb |