Revision f9971af0
Added by Marc Dequènes about 14 years ago
- ID f9971af052b7e206b35f7ea486ed7f346be020eb
lib/cyborghood/base/lang_additions.rb | ||
---|---|---|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
#++
|
||
|
||
require 'active_support'
|
||
require 'ostruct'
|
||
|
||
class Hash
|
||
... | ... | |
def human_name
|
||
self.class.human_name
|
||
end
|
||
|
||
def singleton_class
|
||
class << self; self; end
|
||
end
|
||
end
|
||
|
||
class String
|
Also available in: Unified diff
[evol] work on cyborg server protocol and API #8 (refs #31)