Sha256: a8c4f670226f495622116630cd3cad553ca8b107d87aebb7a70995bcf6a18bee

Contents?: true

Size: 163 Bytes

Versions: 17

Compression:

Stored size: 163 Bytes

Contents

# encoding: utf-8
class Status < ActiveRecord::Base
  has_many :tasks

  include ToDropdownMixin

  def number_of_vowels
    name.scan(/[aeiou]/i).count
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
wice_grid-7.1.4 spec/support/test_app/app/models/status.rb
wice_grid-7.1.3 spec/support/test_app/app/models/status.rb
wice_grid-7.1.2 spec/support/test_app/app/models/status.rb
wice_grid-7.1.1 spec/support/test_app/app/models/status.rb
wice_grid-7.1.0 spec/support/test_app/app/models/status.rb
wice_grid-6.1.3 spec/support/test_app/app/models/status.rb
wice_grid-6.1.2 spec/support/test_app/app/models/status.rb
wice_grid-6.1.1 spec/support/test_app/app/models/status.rb
wice_grid-6.1.0 spec/support/test_app/app/models/status.rb
pwice_grid-7.0.0 spec/support/test_app/app/models/status.rb
pwice_grid-6.1.2 spec/support/test_app/app/models/status.rb
pwice_grid-6.1.1 spec/support/test_app/app/models/status.rb
pwice_grid-6.1.0 spec/support/test_app/app/models/status.rb
pwice_grid-5.0.2 spec/support/test_app/app/models/status.rb
pwice_grid-5.0.1 spec/support/test_app/app/models/status.rb
pwice_grid-5.0.0 spec/support/test_app/app/models/status.rb
wice_grid-4.1.0 spec/support/test_app/app/models/status.rb