summaryrefslogtreecommitdiff
path: root/lib/chef/node/attribute.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/node/attribute.rb')
-rw-r--r--lib/chef/node/attribute.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/node/attribute.rb b/lib/chef/node/attribute.rb
index 0ee720daf4..4febd47b44 100644
--- a/lib/chef/node/attribute.rb
+++ b/lib/chef/node/attribute.rb
@@ -454,19 +454,19 @@ class Chef
end
def write(level, *args, &block)
- self.send(level).write(*args, &block)
+ send(level).write(*args, &block)
end
def write!(level, *args, &block)
- self.send(level).write!(*args, &block)
+ send(level).write!(*args, &block)
end
def unlink(level, *path)
- self.send(level).unlink(*path)
+ send(level).unlink(*path)
end
def unlink!(level, *path)
- self.send(level).unlink!(*path)
+ send(level).unlink!(*path)
end
alias :attribute? :has_key?