blur 1.8.6 → 2.1.6

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,52 +0,0 @@
1
- # encoding: utf-8
2
-
3
- module Blur
4
- class Script
5
- module DSL
6
- def self.included base
7
- base.send :attr_accessor, :__name
8
- base.send :attr_accessor, :__author
9
- base.send :attr_accessor, :__version
10
- base.send :attr_accessor, :__description
11
- end
12
-
13
- # Set the author.
14
- #
15
- # @example
16
- # Author "John Doe <john.doe@gmail.com>"
17
- def Author *authors
18
- @__author = authors.join ', '
19
- end
20
-
21
- # Set the description.
22
- #
23
- # @example
24
- # Description "This is an example script."
25
- def Description description
26
- @__description = description
27
- end
28
-
29
- # Set the version.
30
- #
31
- # @example
32
- # Version "1.0"
33
- def Version version
34
- @__version = version
35
- end
36
-
37
- # @return the name of the script.
38
- def name; @__name end
39
-
40
- # @return the name of the author(s).
41
- def author; @__author end
42
-
43
- # @return the script version.
44
- def version; @__version end
45
-
46
- # @return the description.
47
- def description; @__description end
48
-
49
- alias_method :Authors, :Author
50
- end
51
- end
52
- end