Class: Gem::Specification
- Inherits:
-
BasicSpecification
- Object
- BasicSpecification
- Gem::Specification
- Defined in:
- lib/hoe/debug.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#old_ruby_code ⇒ Object
:nodoc: :nodoc:.
-
#ruby_code(obj) ⇒ Object
:nodoc:.
Instance Method Details
#old_ruby_code ⇒ Object
:nodoc: :nodoc:
101 102 103 104 105 106 107 108 109 110 |
# File 'lib/hoe/debug.rb', line 101 def ruby_code(obj) # :nodoc: old_ruby_code obj rescue Gem::Exception => e case e. when /OpenSSL/ "nil" else raise end end |
#ruby_code(obj) ⇒ Object
:nodoc:
103 104 105 106 107 108 109 110 111 112 |
# File 'lib/hoe/debug.rb', line 103 def ruby_code(obj) # :nodoc: old_ruby_code obj rescue Gem::Exception => e case e. when /OpenSSL/ "nil" else raise end end |