chordy 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +0,0 @@
1
- # encoding: utf-8
2
-
3
- class Section
4
- def initialize(title="", separator_length=40)
5
- @title = title
6
- @separator_length = separator_length
7
- end
8
-
9
- def to_s
10
- title_str = @title.to_s
11
- title_str.rjust(title_str.length + 2, "-").ljust(@separator_length, "-")
12
- end
13
- end
@@ -1,11 +0,0 @@
1
- # encoding: utf-8
2
-
3
- class Text
4
- def initialize(text)
5
- @text = text
6
- end
7
-
8
- def to_s
9
- @text
10
- end
11
- end
@@ -1,109 +0,0 @@
1
- # encoding: utf-8
2
-
3
- module Tuning
4
- def is_tuning? tuning
5
- Tuning.instance_methods.include? tuning.to_s
6
- true
7
- end
8
-
9
- def tuning_6_standard
10
- ["e", "a", "d", "g", "b", "e"]
11
- end
12
-
13
- def tuning_6_a
14
- ["a", "d", "g", "c", "e", "a"]
15
- end
16
-
17
- def tuning_6_b
18
- ["b", "e", "a", "d", "f#", "b"]
19
- end
20
-
21
- def tuning_6_c
22
- ["c", "f", "a#", "d#", "g", "c"]
23
- end
24
-
25
- def tuning_6_d
26
- ["d", "g", "c", "f", "a", "d"]
27
- end
28
-
29
- def tuning_6_drop_a
30
- ["a", "e", "a", "d", "f#", "b"]
31
- end
32
-
33
- def tuning_6_drop_c
34
- ["c", "g", "c", "f", "a", "d"]
35
- end
36
-
37
- def tuning_6_drop_d
38
- ["d", "a", "d", "g", "b", "e"]
39
- end
40
-
41
- def tuning_7_standard
42
- ["b", "e", "a", "d", "g", "b", "e"]
43
- end
44
-
45
- def tuning_7_a
46
- ["a", "d", "g", "c", "f", "a", "d"]
47
- end
48
-
49
- def tuning_7_a_sharp
50
- ["a#", "d#", "g#", "c#", "f#", "a#", "d#"]
51
- end
52
-
53
- def tuning_7_c
54
- ["c", "f", "a#", "d#", "g#", "c", "f"]
55
- end
56
-
57
- def tuning_7_d
58
- ["d", "g", "c", "f", "a#", "d", "g"]
59
- end
60
-
61
- def tuning_7_drop_a
62
- ["a", "e", "a", "d", "f#", "b", "e"]
63
- end
64
-
65
- def tuning_7_drop_g
66
- ["g", "d", "g", "c", "f", "a", "d"]
67
- end
68
-
69
- def tuning_7_drop_g_sharp
70
- ["g#", "d#", "g#", "c#", "f#", "a#", "d#"]
71
- end
72
-
73
- def tuning_8_standard
74
- ["f#", "b", "e", "a", "d", "g", "b", "e"]
75
- end
76
-
77
- def tuning_8_a
78
- ["a", "d", "g", "c", "f", "a", "d", "g"]
79
- end
80
-
81
- def tuning_8_e
82
- ["e", "a", "d", "g", "c", "f", "a", "d"]
83
- end
84
-
85
- def tuning_8_f
86
- ["fb", "bb", "eb", "ab", "db", "gb", "bb", "eb"]
87
- end
88
-
89
- def tuning_8_drop_d_sharp
90
- ["eb", "bb", "eb", "ab", "db", "gb", "bb", "eb"]
91
- end
92
-
93
- def tuning_8_drop_e
94
- ["e", "b", "e", "a", "d", "g", "b", "e"]
95
- end
96
-
97
- alias :tuning_standard :tuning_6_standard
98
- alias :tuning_a :tuning_6_a
99
- alias :tuning_b :tuning_6_b
100
- alias :tuning_c :tuning_6_c
101
- alias :tuning_d :tuning_6_d
102
- alias :tuning_drop_a :tuning_6_drop_a
103
- alias :tuning_drop_c :tuning_6_drop_c
104
- alias :tuning_drop_d :tuning_6_drop_d
105
- alias :tuning_7 :tuning_7_standard
106
- alias :tuning_7_a! :tuning_7_a_sharp
107
- alias :tuning_7_drop_g! :tuning_7_drop_g_sharp
108
- alias :tuning_8_drop_d! :tuning_8_drop_d_sharp
109
- end