Sha256: 3eac05799259447b0e8a832079158cb16709f3fced87d107050e911691184184

Contents?: true

Size: 152 Bytes

Versions: 22

Compression:

Stored size: 152 Bytes

Contents

class Employee
  include Looksist
  attr_accessor :employee_id
  lookup :name, using: :employee_id

  def initialize(id)
    @employee_id = id
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
looksist-0.3.12 features/models/employee.rb
looksist-0.3.11 features/models/employee.rb
looksist-0.3.10 features/models/employee.rb
looksist-0.3.9 features/models/employee.rb
looksist-0.3.8 features/models/employee.rb
looksist-0.3.7 features/models/employee.rb
looksist-0.3.6 features/models/employee.rb
looksist-0.3.5 features/models/employee.rb
looksist-0.3.4 features/models/employee.rb
looksist-0.3.3 features/models/employee.rb
looksist-0.3.2 features/models/employee.rb
looksist-0.3.1 features/models/employee.rb
looksist-0.3.0 features/models/employee.rb
looksist-0.2.10 features/models/employee.rb
looksist-0.2.9 features/models/employee.rb
looksist-0.2.8 features/models/employee.rb
looksist-0.2.7 features/models/employee.rb
looksist-0.2.6 features/models/employee.rb
looksist-0.2.5 features/models/employee.rb
looksist-0.2.4 features/models/employee.rb