sketchucation logo sketchucation
    • Login
    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!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Implementing scrambler

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 477 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      SaphuA
      last edited by

      Hello,

      I'm trying to scramble some about-to-be-released code using the Scrambler that comes with the google SDK. However, once I do this I am no longer able to implement the file. I have a main 'loader' file that implements the scrambled ruby file.

      This is the old situation (in the main file), and it works:

      require 'saphua/tool.rb'
      # Other code
      

      This is the new situation, without succes:

      require 'saphua/tool.rbs'
      # Other code
      

      This didn't work either:

      require 'saphua/tool'
      # Other code
      

      Anyone? Thanks!

      1 Reply Last reply Reply Quote 0
      • AdamBA Offline
        AdamB
        last edited by

        You want the Sketchup version of "require" called "Sketchup::require" which knows about scrambled eggs.

        Developer of LightUp Click for website

        1 Reply Last reply Reply Quote 0
        • S Offline
          SaphuA
          last edited by

          Cool, thanks!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement