accessor_utilities 1.0.2 → 1.0.3

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.
@@ -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
  ##################
@@ -1,7 +1,7 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
 
3
- # namespaces that have to be declared ahead of time for proper load order
4
- require_relative './namespaces'
3
+ module ::AccessorUtilities
4
+ end
5
5
 
6
6
  # source file requires
7
7
  require_relative './requires.rb'
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.2
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
@@ -1,4 +0,0 @@
1
- # -*- encoding : utf-8 -*-
2
-
3
- module ::AccessorUtilities
4
- end