Revision 4672e230
Added by Marc Dequènes over 10 years ago
lib/cyborghood/base/lang_additions.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
# until we're ready for Ruby 2.0 which already implements it
|
||
class OpenStruct
|
||
def to_h
|
||
@table.dup
|
||
end
|
||
end
|
||
|
||
class Object
|
||
def logger
|
||
CyborgHood::Logger.instance
|
Also available in: Unified diff
[evol] allow passing any parameter to the ruby-mail delivery settings