Sha256: 3320bcf8f75c3ae8bc8b0f53918e7a73a84e2e1e9466ab760094573392fec0d2
Contents?: true
Size: 337 Bytes
Versions: 48
Compression:
Stored size: 337 Bytes
Contents
module Terraspace::Compiler module CommandsConcern def command_is?(*commands) commands.flatten! commands.map!(&:to_s) commands.include?(Terraspace.argv[0]) || # IE: terraspace up Terraspace.argv[0] == "all" && commands.include?(Terraspace.argv[1]) # IE: terraspace all up end end end
Version data entries
48 entries across 48 versions & 1 rubygems