Sha256: 9ad8aefcba78115a19e86f107eb3f97f7d2888d1f1ba0293940ba51a3f922193

Contents?: true

Size: 404 Bytes

Versions: 74

Compression:

Stored size: 404 Bytes

Contents

require 'explicit_delegator'

module WoopleTheme
  class AnswerPresenter < ExplicitDelegator
    enforce_definitions :index, # ID of the option to be used in the form
                        :text   # Text of the option/answer

    def correct_badge
      nil
    end

    def incorrect_badge
      nil
    end

    def radio_disabled
      nil
    end

    def radio_checked
      nil
    end
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
woople-theme-0.10.0 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.9.0 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.19 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.18 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.17 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.16 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.15 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.14 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.13 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.12 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.11 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.10 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.9 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.8 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.7 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.6 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.5 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.4 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.3 app/presenters/woople_theme/answer_presenter.rb
woople-theme-0.8.2 app/presenters/woople_theme/answer_presenter.rb