Sha256: 38b92993ea162348dc626c1434db3b78562ec82fd5e89f1d3d7251b98a17245f
Contents?: true
Size: 303 Bytes
Versions: 5
Compression:
Stored size: 303 Bytes
Contents
module RbRsync class Negator def initialize rbsync @rbsync = rbsync RbRsync.boolean_methods.each do |m| (class << self; self; end).class_eval <<-RUBY def #{m} @rbsync.#{m.gsub(/!$/, '')} = false end RUBY end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rbrsync-0.0.8 | lib/rbrsync/negator.rb |
rbrsync-0.0.5 | lib/rbrsync/negator.rb |
rbrsync-0.0.4 | lib/rbrsync/negator.rb |
rbrsync-0.0.3 | lib/rbrsync/negator.rb |
rbrsync-0.0.2 | lib/rbrsync/negator.rb |