Sha256: 9312b5919bc6c65f5dd662e16362ddbaf8801630a0ad76d0bd668dd6422b64bd
Contents?: true
Size: 446 Bytes
Versions: 38
Compression:
Stored size: 446 Bytes
Contents
# frozen_string_literal: true require "lolcat" module BarsoomUtils module Spec module DebugHelpers def show_page path = Rails.root.join("public/show_page.html") File.write(path, page.source) Lol.println "show_page: http://#{hostname}/show_page.html", os: 10, freq: 0.1, spread: 1 end def hostname raise "Implement me. Ex: def hostname; \"auctionet.dev\"; end" end end end end
Version data entries
38 entries across 38 versions & 1 rubygems