accessor_utilities 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/accessor_utilities/symbol_instance.rb +12 -0
- data/lib/accessor_utilities.rb +2 -2
- metadata +1 -2
- data/lib/namespaces.rb +0 -4
@@ -26,6 +26,12 @@ module ::AccessorUtilities::SymbolInstance
|
|
26
26
|
return to_s.accessor_name
|
27
27
|
end
|
28
28
|
|
29
|
+
##############
|
30
|
+
# accessor #
|
31
|
+
##############
|
32
|
+
|
33
|
+
alias_method :accessor, :accessor_name
|
34
|
+
|
29
35
|
#########################
|
30
36
|
# write_accessor_name #
|
31
37
|
#########################
|
@@ -34,6 +40,12 @@ module ::AccessorUtilities::SymbolInstance
|
|
34
40
|
return to_s.write_accessor_name
|
35
41
|
end
|
36
42
|
|
43
|
+
####################
|
44
|
+
# write_accessor #
|
45
|
+
####################
|
46
|
+
|
47
|
+
alias_method :write_accessor, :write_accessor_name
|
48
|
+
|
37
49
|
##################
|
38
50
|
# swizzle_name #
|
39
51
|
##################
|
data/lib/accessor_utilities.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: accessor_utilities
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -25,7 +25,6 @@ files:
|
|
25
25
|
- lib/accessor_utilities/swizzle.rb
|
26
26
|
- lib/accessor_utilities/symbol_instance.rb
|
27
27
|
- lib/accessor_utilities.rb
|
28
|
-
- lib/namespaces.rb
|
29
28
|
- lib/requires.rb
|
30
29
|
- lib_ext/object.rb
|
31
30
|
- lib_ext/string.rb
|
data/lib/namespaces.rb
DELETED