Sha256: f0c51524c8459a35bae1cbfd6bcd3164572ba502a4ed16f6d32a681a72222e70

Contents?: true

Size: 318 Bytes

Versions: 70

Compression:

Stored size: 318 Bytes

Contents

class Reading < Exercise
  include Confirmable

  name_model_as Exercise

  def layout
    :input_bottom
  end

  def input_kids?
    false
  end

  def layout=(layout)
    raise 'can not set a layout different to input_bottom on readings' unless layout.like? :input_bottom
  end

  def queriable?
    false
  end
end

Version data entries

70 entries across 70 versions & 2 rubygems

Version Path
mumuki-domain-9.23.0 app/models/exercise/reading.rb
mumuki-domain-9.22.1 app/models/exercise/reading.rb
mumuki-domain-9.22.0 app/models/exercise/reading.rb
mumuki-domain-9.21.0 app/models/exercise/reading.rb
mumuki-domain-9.20.0 app/models/exercise/reading.rb
mumuki-domain-9.19.0 app/models/exercise/reading.rb
mumuki-domain-9.18.0 app/models/exercise/reading.rb
mumuki-domain-9.17.0 app/models/exercise/reading.rb
mumuki-domain-9.16.0 app/models/exercise/reading.rb
mumuki-domain-9.15.0 app/models/exercise/reading.rb
mumuki-domain-9.14.1 app/models/exercise/reading.rb
mumuki-domain-9.14.0 app/models/exercise/reading.rb
mumuki-domain-9.13.1 app/models/exercise/reading.rb
mumuki-domain-9.13.0 app/models/exercise/reading.rb
mumuki-domain-9.12.0 app/models/exercise/reading.rb
mumuki-domain-9.11.0 app/models/exercise/reading.rb
mumuki-domain-9.10.0 app/models/exercise/reading.rb
mumuki-domain-9.9.0 app/models/exercise/reading.rb
mumuki-domain-9.8.1 app/models/exercise/reading.rb
mumuki-domain-9.8.0 app/models/exercise/reading.rb