instructions_list 1.0.7.beta → 1.0.7.1.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/instructions_list/version.rb +1 -1
- data/lib/instructions_list.rb +6 -0
- 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: 95b18ad1f8761806819c4322d03c2c2b72cc4fc0
|
4
|
+
data.tar.gz: dd31b6726f9b9a093f04b9551d6eebd648b98361
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50c6a7a7447599ad9d7f90bf463aae2c0462c43d3d80eb14a7c107ac3d3cbeb949f3deafd78a7b10f2e566c0596d3d3f959603cf043a0b16e2e14fa7041aab77
|
7
|
+
data.tar.gz: ff6b78f5f70b21a3565b7419c659c0d018b095b76dbb9a7dcc354a417842e146e4ff003622758908c4e0753561337ba8f7858bfe79ad449442e03b134b9bb9eb
|
data/lib/instructions_list.rb
CHANGED
@@ -61,9 +61,15 @@ module InstructionsList
|
|
61
61
|
|
62
62
|
def instruct &block
|
63
63
|
@instruction.instruct = block
|
64
|
+
end
|
65
|
+
|
66
|
+
def uninstruct &block
|
67
|
+
@instruction.uninstruct = block
|
64
68
|
INSTRUCTIONS << @instruction
|
65
69
|
end
|
66
70
|
|
71
|
+
|
72
|
+
|
67
73
|
def on os
|
68
74
|
case os.to_s
|
69
75
|
when "mac"
|