module ScaleTeacher

Constants

VERSION

Public Class Methods

p1() click to toggle source
# File lib/scaleTeacher.rb, line 4
  def p1
   <<-EOS
   |--4--|--5--|-----|-----|--6--|
   |-----|-----|--2--|-----|--3--|
   |-----|--6--|-----|--7--|--R--|
   |-----|--3--|--4--|-----|--5--|
   |-----|--7--|--R--|-----|--2--|
   |--4--|-----|--5--|-----|--6--|
   EOS
  end
p2() click to toggle source
# File lib/scaleTeacher.rb, line 15
  def p2
   <<-EOS
   |--7--|--R--|-----|--2--|-----|
   |-----|--5--|-----|--6--|-----|
   |--2--|-----|--3--|--4--|-----|
   |--6--|-----|--7--|--R--|-----|
   |--3--|--4--|-----|--5--|-----|
   |--7--|--R--|-----|--2--|-----|
   EOS
  end
p3() click to toggle source
# File lib/scaleTeacher.rb, line 26
  def p3
   <<-EOS
   |--3--|--4--|-----|--5--|-----|
   |--7--|--R--|-----|--2--|-----|
   |--5--|-----|--6--|-----|-----|
   |--2--|-----|--3--|--4--|-----|
   |--6--|-----|--7--|--R--|-----|
   |--3--|--4--|-----|--5--|-----|
   EOS
  end
p4() click to toggle source
# File lib/scaleTeacher.rb, line 37
  def p4
   <<-EOS
   |--5--|-----|--6--|-----|--7--|
   |-----|-----|--3--|--4--|-----|
   |-----|--7--|--R--|-----|--2--|
   |--4--|-----|--5--|-----|--6--|
   |--R--|-----|--2--|-----|--3--|
   |--5--|-----|--6--|-----|--7--|
   EOS
  end
p5() click to toggle source
# File lib/scaleTeacher.rb, line 48
  def p5
   <<-EOS
   |--R--|-----|--2--|-----|--3--|
   |-----|-----|--6--|-----|--7--|
   |-----|--3--|--4--|-----|--5--|
   |-----|--7--|--R--|-----|--2--|
   |--4--|-----|--5--|-----|--6--|
   |--R--|-----|--2--|-----|--3--|
   EOS
  end
p6() click to toggle source
# File lib/scaleTeacher.rb, line 59
  def p6
   <<-EOS
   |--6--|-----|--7--|--R--|-----|
   |--3--|--4--|-----|--5--|-----|
   |--R--|-----|--2--|-----|-----|
   |--5--|-----|--6--|-----|--7--|
   |--2--|-----|--3--|--4--|-----|
   |--6--|-----|--7--|--R--|-----|
   EOS
  end
p7() click to toggle source
# File lib/scaleTeacher.rb, line 70
  def p7
   <<-EOS
   |--2--|-----|--3--|--4--|-----|
   |--6--|-----|--7--|--R--|-----|
   |--4--|-----|--5--|-----|-----|
   |--R--|-----|--2--|-----|--3--|
   |--5--|-----|--6--|-----|--7--|
   |--2--|-----|--3--|--4--|-----|
   EOS
  end

Private Instance Methods

p1() click to toggle source
# File lib/scaleTeacher.rb, line 4
  def p1
   <<-EOS
   |--4--|--5--|-----|-----|--6--|
   |-----|-----|--2--|-----|--3--|
   |-----|--6--|-----|--7--|--R--|
   |-----|--3--|--4--|-----|--5--|
   |-----|--7--|--R--|-----|--2--|
   |--4--|-----|--5--|-----|--6--|
   EOS
  end
p2() click to toggle source
# File lib/scaleTeacher.rb, line 15
  def p2
   <<-EOS
   |--7--|--R--|-----|--2--|-----|
   |-----|--5--|-----|--6--|-----|
   |--2--|-----|--3--|--4--|-----|
   |--6--|-----|--7--|--R--|-----|
   |--3--|--4--|-----|--5--|-----|
   |--7--|--R--|-----|--2--|-----|
   EOS
  end
p3() click to toggle source
# File lib/scaleTeacher.rb, line 26
  def p3
   <<-EOS
   |--3--|--4--|-----|--5--|-----|
   |--7--|--R--|-----|--2--|-----|
   |--5--|-----|--6--|-----|-----|
   |--2--|-----|--3--|--4--|-----|
   |--6--|-----|--7--|--R--|-----|
   |--3--|--4--|-----|--5--|-----|
   EOS
  end
p4() click to toggle source
# File lib/scaleTeacher.rb, line 37
  def p4
   <<-EOS
   |--5--|-----|--6--|-----|--7--|
   |-----|-----|--3--|--4--|-----|
   |-----|--7--|--R--|-----|--2--|
   |--4--|-----|--5--|-----|--6--|
   |--R--|-----|--2--|-----|--3--|
   |--5--|-----|--6--|-----|--7--|
   EOS
  end
p5() click to toggle source
# File lib/scaleTeacher.rb, line 48
  def p5
   <<-EOS
   |--R--|-----|--2--|-----|--3--|
   |-----|-----|--6--|-----|--7--|
   |-----|--3--|--4--|-----|--5--|
   |-----|--7--|--R--|-----|--2--|
   |--4--|-----|--5--|-----|--6--|
   |--R--|-----|--2--|-----|--3--|
   EOS
  end
p6() click to toggle source
# File lib/scaleTeacher.rb, line 59
  def p6
   <<-EOS
   |--6--|-----|--7--|--R--|-----|
   |--3--|--4--|-----|--5--|-----|
   |--R--|-----|--2--|-----|-----|
   |--5--|-----|--6--|-----|--7--|
   |--2--|-----|--3--|--4--|-----|
   |--6--|-----|--7--|--R--|-----|
   EOS
  end
p7() click to toggle source
# File lib/scaleTeacher.rb, line 70
  def p7
   <<-EOS
   |--2--|-----|--3--|--4--|-----|
   |--6--|-----|--7--|--R--|-----|
   |--4--|-----|--5--|-----|-----|
   |--R--|-----|--2--|-----|--3--|
   |--5--|-----|--6--|-----|--7--|
   |--2--|-----|--3--|--4--|-----|
   EOS
  end