Sha256: abcda89557c72023d275fb4dc584ede32af2676a0eecae8745e9fdf4a6ff0aca

Contents?: true

Size: 154 Bytes

Versions: 9

Compression:

Stored size: 154 Bytes

Contents

class User
  include Mongoid::Document
  
  field :admin, :default => false
  
  def admin?
    !!admin
  end
  
  def c2_title
    'Dummy User'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
c2-0.1.13 spec/dummy/app/models/user.rb
c2-0.1.12 spec/dummy/app/models/user.rb
c2-0.1.11 spec/dummy/app/models/user.rb
c2-0.1.10 spec/dummy/app/models/user.rb
c2-0.1.9 spec/dummy/app/models/user.rb
c2-0.1.8 spec/dummy/app/models/user.rb
c2-0.1.7 spec/dummy/app/models/user.rb
c2-0.1.6 spec/dummy/app/models/user.rb
c2-0.1.5 spec/dummy/app/models/user.rb