daqing

一个测试Babel API的Ruby脚本

  •  
  •   daqing · Sep 3, 2010 · 4779 views
    This topic created in 5801 days ago, the information mentioned may be changed or developed.
    2 replies    1970-01-01 08:00:00 +08:00
    daqing
        1
    daqing  
    OP
       Sep 3, 2010
    这个脚本可以在Rails console里面执行,因为JSON的解析用到了Rails的ActiveSupport。

    当然,也可以改成用ruby的JSON gem,这样就不依赖rails了。
    marshluca
        2
    marshluca  
       Sep 3, 2010
    在Rails console里执行确实挺方便
    ActiveSupport实质就是一堆ruby library。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3177 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:15 · PVG 20:15 · LAX 05:15 · JFK 08:15
    ♥ Do have faith in what you're doing.