Sha256: 1e23001efe5fe84339d46eee15e734f675063bc5da38ea39cb32a7dc9616e60e
Contents?: true
Size: 332 Bytes
Versions: 5
Compression:
Stored size: 332 Bytes
Contents
require 'test/unit' require File.dirname(__FILE__) + '/../lib/brdata' def tornar_metodos_publicos(clazz) clazz.class_eval do private_instance_methods.each { |instance_method| public instance_method } private_methods.each { |method| public_class_method method } end end def p80 text p '*'*80 p text p '*'*80 end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
brdata-3.1.0 | test/test_helper.rb |
brdata-3.0.8 | test/test_helper.rb |
brdata-3.0.7 | test/test_helper.rb |
brdata-3.0.6 | test/test_helper.rb |
brdata-3.0.5 | test/test_helper.rb |