Project

General

Profile

« Previous | Next » 

Revision 685a6991

Added by Marc Dequènes over 13 years ago

  • ID 685a69919fb8df8b72f7378d8211dece971fb96e

[monkeypatch] added support for to_hash to OpenStruct

View differences:

lib/cyborghood/base/lang_additions.rb
end
end
class OpenStruct
def to_hash
@table.dup
end
end
class Object
def logger
CyborgHood::Logger.instance

Also available in: Unified diff