Sha256: 1e9a497a9c4fa75f81e44eec193d2352ace49cc4a44f37c24c79bbe3d2a02627
Contents?: true
Size: 412 Bytes
Versions: 21
Compression:
Stored size: 412 Bytes
Contents
require 'padrino-core/command' module Padrino ## # This method return the correct location of padrino-gen bin or # exec it using Kernel#system with the given args # def self.bin_gen(*args) @_padrino_gen_bin ||= [Padrino.ruby_command, File.expand_path("../../../bin/padrino-gen", __FILE__)] args.empty? ? @_padrino_gen_bin : system(args.unshift(@_padrino_gen_bin).join(" ")) end end # Padrino
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
padrino-gen-0.9.11 | lib/padrino-gen/command.rb |