module Oprah
The Oprah
namespace.
@since 0.0.1
Constants
- VERSION
@return [String] The
Oprah
library version.
Public Instance Methods
debug?()
click to toggle source
@!visibility private
# File lib/oprah.rb, line 23 def debug? !!ENV["OPRAH_DEBUG"] end
present(*args, **kwargs, &block)
click to toggle source
Presents a single object.
@see Presenter.present
# File lib/oprah.rb, line 30 def present(*args, **kwargs, &block) Presenter.present(*args, **kwargs, &block) end
present_many(*args, **kwargs, &block)
click to toggle source
Presents a collection of objects.
# File lib/oprah.rb, line 37 def present_many(*args, **kwargs, &block) Presenter.present_many(*args, **kwargs, &block) end