Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/dango/framework_base.rb
Instance Method Summary collapse
Instance Method Details
#deep_dup ⇒ Object
55 56 57 |
# File 'lib/dango/framework_base.rb', line 55 def deep_dup Marshal.load(Marshal.dump(self)) end |
#pretty_inspect ⇒ Object
45 46 47 48 49 50 51 52 |
# File 'lib/dango/framework_base.rb', line 45 def pretty_inspect str = StringIO.open("", "w+") do |sio| PP.pp(self, sio) sio.rewind sio.read end str end |