attributes1 5.0.2 → 5.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/attributes1-5.0.2.gem +0 -0
- data/lib/attributes.rb +8 -8
- metadata +2 -1
Binary file
|
data/lib/attributes.rb
CHANGED
@@ -103,14 +103,14 @@ module Attributes
|
|
103
103
|
end
|
104
104
|
|
105
105
|
class Object
|
106
|
-
|
107
|
-
sc =
|
108
|
-
class << self
|
109
|
-
self
|
110
|
-
end
|
111
|
-
sc.attributes *a, &b
|
112
|
-
end
|
113
|
-
%w( __attributes__ __attribute__ attribute ).each{|dst| alias_method dst, 'attributes'}
|
106
|
+
# def attributes *a, &b
|
107
|
+
# sc =
|
108
|
+
# class << self
|
109
|
+
# self
|
110
|
+
# end
|
111
|
+
# sc.attributes *a, &b
|
112
|
+
# end
|
113
|
+
# %w( __attributes__ __attribute__ attribute ).each{|dst| alias_method dst, 'attributes'}
|
114
114
|
end
|
115
115
|
|
116
116
|
class Module
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: attributes1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -18,6 +18,7 @@ extensions: []
|
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
20
|
- a.rb
|
21
|
+
- attributes1-5.0.2.gem
|
21
22
|
- b.rb
|
22
23
|
- gemspec.rb
|
23
24
|
- gen_readme.rb
|