Sha256: ddf94994415c5b3d30b30ce3db220871f92f3898015d6e604048235beea2b814

Contents?: true

Size: 236 Bytes

Versions: 48

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

module Dsu
  module Support
    module Presentable
      def presenter
        "Dsu::Presenters::#{self.class.name.demodulize}Presenter".constantize.new(self, options: options)
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
dsu-3.0.0.alpha.1 lib/dsu/support/presentable.rb
dsu-3.0.0.alpha.0 lib/dsu/support/presentable.rb
dsu-2.4.4 lib/dsu/support/presentable.rb
dsu-2.4.3 lib/dsu/support/presentable.rb
dsu-2.4.2 lib/dsu/support/presentable.rb
dsu-2.4.1 lib/dsu/support/presentable.rb
dsu-2.4.0 lib/dsu/support/presentable.rb
dsu-2.3.2 lib/dsu/support/presentable.rb
dsu-2.3.1 lib/dsu/support/presentable.rb
dsu-2.3.0 lib/dsu/support/presentable.rb
dsu-2.2.2 lib/dsu/support/presentable.rb
dsu-2.2.1 lib/dsu/support/presentable.rb
dsu-2.2.0 lib/dsu/support/presentable.rb
dsu-2.2.0.rc.2 lib/dsu/support/presentable.rb
dsu-2.2.0.rc.1 lib/dsu/support/presentable.rb
dsu-2.1.4 lib/dsu/support/presentable.rb
dsu-2.1.3 lib/dsu/support/presentable.rb
dsu-2.1.2 lib/dsu/support/presentable.rb
dsu-2.1.1 lib/dsu/support/presentable.rb
dsu-2.0.8 lib/dsu/support/presentable.rb