Class: Wakame::Service::VmSpec::Template

Inherits:
Object
  • Object
show all
Defined in:
lib/wakame/service.rb

Direct Known Subclasses

EC2, StandAlone

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.inherited(klass) ⇒ Object



986
987
988
989
990
991
992
993
994
995
996
997
998
999
# File 'lib/wakame/service.rb', line 986

def self.inherited(klass)
  klass.class_eval {
    def self.vm_attr_defs
      @vm_attr_defs ||= {}
    end
  
    def self.vm_attr(key, opts=nil)
      opts ||= {}

      vm_attr_defs[key.to_sym]=opts
    end
  }
  
end

Instance Method Details

#merge(src_vm_attr, diff) ⇒ Object



1005
1006
1007
# File 'lib/wakame/service.rb', line 1005

def merge(src_vm_attr, diff)
  raise ""
end

#satisfy?(vm_attr, diff) ⇒ Boolean

Returns:

  • (Boolean)


1001
1002
1003
# File 'lib/wakame/service.rb', line 1001

def satisfy?(vm_attr, diff)
  raise ""
end