Sha256: 8ff32e158eff68e3b80871a37294cdf034baf8a464d99742f0f0437af469ccb1

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

require 'test/unit'
require File.dirname(__FILE__) + '/../lib/brferiado'


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

1 entries across 1 versions & 1 rubygems

Version Path
brferiados-0.0.1 test/test_helper.rb