Module: ScaleTeacher

Defined in:
lib/scaleTeacher.rb,
lib/scaleTeacher/version.rb

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.p1Object



4
5
6
7
8
9
10
11
12
13
# 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

.p2Object



15
16
17
18
19
20
21
22
23
24
# 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

.p3Object



26
27
28
29
30
31
32
33
34
35
# 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

.p4Object



37
38
39
40
41
42
43
44
45
46
# 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

.p5Object



48
49
50
51
52
53
54
55
56
57
# 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

.p6Object



59
60
61
62
63
64
65
66
67
68
# 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

.p7Object



70
71
72
73
74
75
76
77
78
79
# 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