Revision 685a6991
Added by Marc Dequènes almost 14 years ago
- ID 685a69919fb8df8b72f7378d8211dece971fb96e
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
[monkeypatch] added support for to_hash to OpenStruct