Last active
September 10, 2018 22:34
-
-
Save Juice10/8f99e30726436061bd3c212646f5304c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# initialize standalone bundler | |
require __dir__ + '/bundle/bundler/setup.rb' | |
# require the gems we want to use | |
require 'betterlorem' | |
def main(params = {}) | |
length = (params["length"] || 20).to_i | |
{ lipsum: BetterLorem.w(length, true) } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment