Module: Oprah
- Extended by:
- Oprah
- Included in:
- Oprah
- Defined in:
- lib/oprah.rb,
lib/oprah/railtie.rb,
lib/oprah/version.rb,
lib/oprah/presenter.rb,
lib/oprah/test_helpers.rb,
lib/oprah/controller_helpers.rb
Overview
The Oprah namespace.
Defined Under Namespace
Modules: ControllerHelpers, TestHelpers Classes: Presenter, Railtie
Constant Summary collapse
- VERSION =
Returns The Oprah library version.
"0.3.1"
Instance Method Summary collapse
-
#present(*args, **kwargs, &block) ⇒ Object
Presents a single object.
-
#present_many(*args, **kwargs, &block) ⇒ Object
Presents a collection of objects.
Instance Method Details
#present(*args, **kwargs, &block) ⇒ Object
Presents a single object.
30 31 32 |
# File 'lib/oprah.rb', line 30 def present(*args, **kwargs, &block) Presenter.present(*args, **kwargs, &block) end |
#present_many(*args, **kwargs, &block) ⇒ Object
Presents a collection of objects.
37 38 39 |
# File 'lib/oprah.rb', line 37 def present_many(*args, **kwargs, &block) Presenter.present_many(*args, **kwargs, &block) end |