Module: Keynote::Helper

Defined in:
lib/keynote/helper.rb

Overview

Keynote::Helper is mixed into ActionView::Base, providing a present method (aliased to k) for instantiating presenters.

Instance Method Summary collapse

Instance Method Details

#present(*objects, &blk) ⇒ Object Also known as: k

Instantiate a presenter.

See Also:



9
10
11
# File 'lib/keynote/helper.rb', line 9

def present(*objects, &blk)
  Keynote.present(self, *objects, &blk)
end