Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/dango/framework_base.rb
Instance Method Summary collapse
Instance Method Details
#deep_dup ⇒ Object
39 40 41 |
# File 'lib/dango/framework_base.rb', line 39 def deep_dup Marshal.load(Marshal.dump(self)) end |
#pretty_inspect ⇒ Object
28 29 30 31 32 33 34 35 36 |
# File 'lib/dango/framework_base.rb', line 28 def pretty_inspect str = StringIO.open("", "w+") do |sio| PP.pp(self, sio) sio.rewind sio.read end str end |