Sha256: cc214ff5c09eca50c1aaa80bfd198d906968e8ee498f5adb4aae914d1cd6a71c
Contents?: true
Size: 335 Bytes
Versions: 37
Compression:
Stored size: 335 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
37 entries across 37 versions & 1 rubygems