Sha256: c27a41a6a552a9955b3fc65f2cdfd8532c7f392d2ba7da0fb20aa9d0e29747bd

Contents?: true

Size: 134 Bytes

Versions: 5

Compression:

Stored size: 134 Bytes

Contents

class User
  include Mongoid::Document
  
  field :name
      
  def role_list_value
    instance_variable_get "@role_list"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
troles-0.6.1 spec/mongoid/models/user.rb
troles-0.6.0 spec/mongoid/models/user.rb
troles-0.5.2 spec/mongoid/models/user.rb
troles-0.5.1 spec/mongoid/models/user.rb
troles-0.5.0 spec/mongoid/models/user.rb