summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/file_system/repository/directory.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/chef_fs/file_system/repository/directory.rb')
-rw-r--r--lib/chef/chef_fs/file_system/repository/directory.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/chef_fs/file_system/repository/directory.rb b/lib/chef/chef_fs/file_system/repository/directory.rb
index 20f6f82108..dae467993a 100644
--- a/lib/chef/chef_fs/file_system/repository/directory.rb
+++ b/lib/chef/chef_fs/file_system/repository/directory.rb
@@ -28,6 +28,10 @@ class Chef
attr_reader :path
attr_reader :file_path
+ alias_method :display_path, :path
+ alias_method :display_name, :name
+ alias_method :bare_name, :name
+
def initialize(name, parent, file_path = nil)
@parent = parent
@name = name