Sha256: 9602131af1dc29d9a618087a8fbb21a6e25fe5617efe00a7f6e6da9bc60dcf06
Contents?: true
Size: 612 Bytes
Versions: 2
Compression:
Stored size: 612 Bytes
Contents
module PowerAssert class << self def configuration @configuration ||= Configuration[false, false, true] end def configure yield configuration end end SUPPORT_ALIAS_METHOD = TracePoint.public_method_defined?(:callee_id) private_constant :SUPPORT_ALIAS_METHOD class Configuration < Struct.new(:lazy_inspection, :_trace_alias_method, :_redefinition) def _trace_alias_method=(bool) super if SUPPORT_ALIAS_METHOD warn '_trace_alias_method option is obsolete. You no longer have to set it.' end end end private_constant :Configuration end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
ruby-compiler-0.1.1 | vendor/ruby/gems/power_assert-0.4.1/lib/power_assert/configuration.rb |
power_assert-0.4.1 | lib/power_assert/configuration.rb |