lib/cim/property.rb in cim-0.2.7 vs lib/cim/property.rb in cim-0.3.0
- old
+ new
@@ -1,13 +1,16 @@
-module Cim
- class Property < Cim::Meta::Feature
+module CIM
+ class Property < CIM::ClassFeature
attr_reader :default
def initialize type, name, qualifiers=nil, default=nil
@default = default
unless qualifiers.nil? || qualifiers.kind_of?(Enumerable)
qualifiers = [ qualifiers ]
end
super type, name, qualifiers
+ end
+ def property?
+ true
end
end
end