class Corepathing::Student

Class for Student object

Attributes

max_domain_levels[RW]
name[RW]
path[RW]

Public Class Methods

new(name, max_domain_grade_levels, education_path) click to toggle source
# File lib/corepathing.rb, line 11
def initialize(name, max_domain_grade_levels, education_path)
  @name = name
  @max_domain_levels = max_domain_grade_levels
  @path = education_path
end

Public Instance Methods

to_s() click to toggle source
# File lib/corepathing.rb, line 17
def to_s
  z = @path.map{|p| p.map{|k,v| "#{k}.#{v}"} }.join(',')
  return "#{@name},#{z}"
end