Sha256: 9fd0f08a229a006092cc14f4cd8d5190036c8f3cdd5dd74f42131304ce629d85

Contents?: true

Size: 324 Bytes

Versions: 4

Compression:

Stored size: 324 Bytes

Contents

require 'explicit_delegator'

module WoopleTheme
  module Reports
    class PersonalReportsPresenter < ExplicitDelegator
      enforce_definitions :reports

      def reports
        @reports ||= ThemePresentation.wrap_collection(@delegate.reports, WoopleTheme::Reports::PersonalReportPresenter)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
woople-theme-0.6.17 app/presenters/woople_theme/reports/personal_reports_presenter.rb
woople-theme-0.6.14 app/presenters/woople_theme/reports/personal_reports_presenter.rb
woople-theme-0.6.13 app/presenters/woople_theme/reports/personal_reports_presenter.rb
woople-theme-0.6.12 app/presenters/woople_theme/reports/personal_reports_presenter.rb