class Commands::HiveCommand
Attributes
hive_versions[RW]
Public Instance Methods
get_version_args(require_single_version)
click to toggle source
# File lib/commands.rb, line 402 def get_version_args(require_single_version) versions = get_field(:hive_versions, nil) if versions == nil then return [] end if require_single_version then if versions.split(",").size != 1 then raise RuntimeError, "Only one version my be specified for --hive-script" end end return ["--hive-versions", versions] end