class Bosh::Stemcell::OperatingSystem::Base

Attributes

name[R]
version[R]

Public Class Methods

new(options = {}) click to toggle source
# File lib/bosh/stemcell/operating_system.rb, line 17
def initialize(options = {})
  @name = options.fetch(:name)
  @version = options.fetch(:version)
end

Public Instance Methods

==(other) click to toggle source
# File lib/bosh/stemcell/operating_system.rb, line 22
def ==(other)
  name == other.name
end