Sha256: b6dfec1e3f28a516a046acf8e9b8f424e085b2aea577d8f4193dacd3b87727ac

Contents?: true

Size: 387 Bytes

Versions: 6

Compression:

Stored size: 387 Bytes

Contents

# Copyright 1970, nobody

# this is the attribute
default['some']['attribute'] = 'foo'

default['this']['will']['be'] = 'ignored'

# NOTE code blocks without a comment are ignored as are those beginning
# NOTE with 'NOTE', 'XXX', 'TODO' or foodcritic comments

# a longer block of code
case something
when 'foo'
  default['some']['foo'] = 'baz'
else
  default['some']['foo'] = 'qux'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chef_attrdoc-1.1.0 spec/fixtures/cookbook-example/attributes/default.rb
chef_attrdoc-1.0.3 spec/fixtures/cookbook-example/attributes/default.rb
chef_attrdoc-1.0.2 spec/fixtures/cookbook-example/attributes/default.rb
chef_attrdoc-1.0.1 spec/fixtures/cookbook-example/attributes/default.rb
chef_attrdoc-1.0.0 spec/fixtures/cookbook-example/attributes/default.rb
chef_attrdoc-1.0.0.pre spec/fixtures/cookbook-example/attributes/default.rb