Sha256: f902c10319f1db14fe9d7a45807c26cb9c4e518ae843dd21a4bbd5700f8da466
Contents?: true
Size: 347 Bytes
Versions: 3
Compression:
Stored size: 347 Bytes
Contents
# frozen_string_literal: true module Keynote # `Keynote::Helper` is mixed into `ActionView::Base`, providing a `present` # method (aliased to `k`) for instantiating presenters. module Helper # Instantiate a presenter. # @see Keynote.present def present(...) = Keynote.present(self, ...) alias_method :k, :present end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
keynote-2.0.2 | lib/keynote/helper.rb |
keynote-2.0.1 | lib/keynote/helper.rb |
keynote-2.0.0 | lib/keynote/helper.rb |