Class: YangNetconf
- Inherits:
-
YangNetconfProperty
- Object
- Puppet::Property
- YangNetconfProperty
- YangNetconf
- Defined in:
- lib/puppet/property/yang_netconf.rb
Overview
This subclass of YangProperty manages YANG XML Netconf content.
Instance Method Summary collapse
-
#inline_yang?(yang_or_file) ⇒ Boolean
Determine if the specified value is inline YANG or a file path.
Methods inherited from YangNetconfProperty
#insync?, #should, #yang_content
Instance Method Details
#inline_yang?(yang_or_file) ⇒ Boolean
Determine if the specified value is inline YANG or a file path
7 8 9 |
# File 'lib/puppet/property/yang_netconf.rb', line 7 def inline_yang?(yang_or_file) !/^</.match(yang_or_file).nil? end |