Add box metadata conversion
This commit is contained in:
parent
1bd6e4d946
commit
a9b62812ac
@ -296,6 +296,13 @@ class Hashicorp::Vagrant::Sdk::Args::Array
|
||||
end
|
||||
end
|
||||
|
||||
class Hashicorp::Vagrant::Sdk::Args::BoxMetadata
|
||||
# TODO(spox): should this be returning a box metadata instance instead of client?
|
||||
def to_ruby
|
||||
_vagrant_load_client(VagrantPlugins::CommandServe::Client::BoxMetadata)
|
||||
end
|
||||
end
|
||||
|
||||
class Hashicorp::Vagrant::Sdk::Args::Class
|
||||
def to_ruby
|
||||
if name.to_s.empty?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user