summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/util
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-09-30 18:33:40 +0900
committerRandy Morgan <[email protected]>2012-09-30 18:33:40 +0900
commit25fc01cdc4c0fbbe5367a0325e1790975ee00aaa (patch)
tree9232220377e829b5f8aab79e51d5ca595550a737 /lib/axlsx/util
parente7a2916e33db7582ae8da307692cab6bd21b6bab (diff)
downloadcaxlsx-25fc01cdc4c0fbbe5367a0325e1790975ee00aaa.tar.gz
caxlsx-25fc01cdc4c0fbbe5367a0325e1790975ee00aaa.zip
altered scope for generic validated_attr_accessor
Seems to cause some problems with 1.9.1 not willing to spend the effort time to find out why ;?
Diffstat (limited to 'lib/axlsx/util')
-rw-r--r--lib/axlsx/util/module.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/axlsx/util/module.rb b/lib/axlsx/util/module.rb
index ecc62326..4f3543a0 100644
--- a/lib/axlsx/util/module.rb
+++ b/lib/axlsx/util/module.rb
@@ -7,8 +7,6 @@ class Module
validated_attr_accessor(symbols, 'validate_boolean')
end
- private
-
SETTER = "def %s=(value) Axlsx::%s(value); @%s = value; end"
def validated_attr_accessor(symbols, validator)
symbols.each do |symbol|