Sha256: c2ede99e2386d669bcfbc015fca987338541f5bbee2dce76fa6d5e751f309a75
Contents?: true
Size: 596 Bytes
Versions: 32
Compression:
Stored size: 596 Bytes
Contents
module Terraspace::Compiler::Dsl::Syntax::Helpers module Common extend Memoist Meta = Terraspace::Compiler::Dsl::Meta def var Meta::Var.new end memoize :var def local Meta::Local.new end memoize :local # Only show the first 2 args and now the options. Examples: # # terraspace_command => "terraspace up demo" # terraspace_command('-') => "terraspace-up-demo" # def terraspace_command(separator=' ') args = ARGV[0..1] || [] command = ["terraspace"] + args command.join(separator) end end end
Version data entries
32 entries across 32 versions & 1 rubygems