lib/u3d/unity_version_definition.rb in u3d-1.0.3 vs lib/u3d/unity_version_definition.rb in u3d-1.0.4
- old
+ new
@@ -42,9 +42,13 @@
def available_packages
@ini.keys
end
+ def available_package?(p)
+ available_packages.include? p
+ end
+
def [](key)
return nil unless @ini
@ini[key]
end