sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    Create file with accent in the path

    已排程 已置頂 已鎖定 已移動 Developers' Forum
    23 貼文 3 Posters 1.2k 瀏覽 3 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • IltisI 離線
      Iltis
      最後由 編輯

      Nice, thank you Dan!

      1 條回覆 最後回覆 回覆 引用 0
      • tt_suT 離線
        tt_su
        最後由 編輯

        @dan rathbun said:

        fail() #re-raise the last exception

        Never seen that method used before. Is that different from just calling raise?

        1 條回覆 最後回覆 回覆 引用 0
        • Dan RathbunD 離線
          Dan Rathbun
          最後由 編輯

          @tt_su said:

          @dan rathbun said:

          fail() #re-raise the last exception

          Never seen that method used before. Is that different from just calling raise?

          raise() is an alias for fail()
          See the doc on the Kernel module:
          http://www.ruby-doc.org/core-1.8.6/Kernel.html#method-i-fail

          The best practices guides I have read, suggest that fail be used instead of raise, for readability, I suppose. But I really did not understand the logic in the guide. (I think it was something like "raise" has more meanings as a verb than "fail" ?)

          I'm not here much anymore.

          1 條回覆 最後回覆 回覆 引用 0
          • 1
          • 2
          • 2 / 2
          • 第一個貼文
            最後的貼文
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement