Module: ChefUtils::DSL::PlatformVersion
- Extended by:
- PlatformVersion
- Includes:
- Internal
- Included in:
- ChefUtils, PlatformVersion
- Defined in:
- lib/chef-utils/dsl/platform_version.rb
Instance Method Summary collapse
-
#platform_version(node = __getnode) ⇒ ChefUtils::VersionString
Return the platform_version for the node.
Instance Method Details
#platform_version(node = __getnode) ⇒ ChefUtils::VersionString
Return the platform_version for the node. Acts like a String but also provides a mechanism for checking version constraints.
34 35 36 |
# File 'lib/chef-utils/dsl/platform_version.rb', line 34 def platform_version(node = __getnode) ChefUtils::VersionString.new(node["platform_version"]) end |