ruco-cpp 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/ruco +2 -1
- data/lib/ruco/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cb830b9263fe29580ea5c8cfcaf5f1c5310a37a
|
4
|
+
data.tar.gz: 1d7a85078b5ac1119bf77835f5f93e9d7afffd81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1e5b24661e41a46acd17dd28366ac8ce9c37a6033a8abafc4f3984cd4f708052c977bd32852cfcf43670133e50eb56998c0dc732755dd02676d79818780fceb
|
7
|
+
data.tar.gz: e3fdf3649f14852e781089a0ef3fc2a8a4a24dad69ecd2b718f200f809d30395a3bd75e9f539de4d61a8423e0d4938f0a2eeae67cbfc81bb641bd6d1f7cd03a0
|
data/bin/ruco
CHANGED
@@ -12,8 +12,9 @@ end
|
|
12
12
|
file = ARGV[0]
|
13
13
|
grammar_name = File.basename file, ".ruco"
|
14
14
|
grammar_name = ARGV[1] if ARGV[1]
|
15
|
+
grammar_name = grammar_name.capitalize
|
15
16
|
|
16
|
-
rr = Ruco::Ruco.new grammar_name
|
17
|
+
rr = Ruco::Ruco.new grammar_name do
|
17
18
|
instance_eval(File.read(file), file)
|
18
19
|
end
|
19
20
|
|
data/lib/ruco/version.rb
CHANGED