class ConcourseObjects::Resources::RomVer::OutParams

Public Class Methods

new(options = {}) { |this, options| ... } click to toggle source
Calls superclass method ConcourseObjects::Object::new
# File lib/concourse-objects/resources/romver.rb, line 52
def initialize(options = {})
  super(options) do |this, options|
    raise KeyError, "#{self.class.inspect} requires one of (bump, file)" unless (this.bump? or this.file?)

    yield this, options if block_given?
  end
end