Sha256: 26985d346f93809e81285974ecfd725219611731325c9755a1bd3661173ad287

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

module Person___module
  attr_accessor :names
  def isValidPerson___module
    return case
      when names == nil : false
      else true
      end
  end
end
module Organization___module
  attr_accessor :name
  def isValidOrganization___module
    return case
      when name == nil : false
      else true
      end
  end
end
module Personorganizationrelationship___module
  attr_accessor :the_person
  attr_accessor :the_organization
  attr_accessor :start_date
  attr_accessor :end_date
  def isValidPersonorganizationrelationship___module
    return case
      when the_person == nil : false
      when the_organization == nil : false
      when start_date == nil : false
      when end_date == nil : false
      else true
      end
  end
end
module Employment___module
  attr_accessor :job_title
  attr_accessor :ended_by
  attr_accessor :employment_type
  def isValidEmployment___module
    return case
      when job_title == nil : false
      when ended_by == nil : false
      when employment_type == nil : false
      else true
      end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
expressir-0.2.6 original/examples/employment/employment_schema___module.rb
expressir-0.2.5-x64-mingw32 original/examples/employment/employment_schema___module.rb
expressir-0.2.4-x64-mingw32 original/examples/employment/employment_schema___module.rb