diff options
Diffstat (limited to 'code/entry.rb')
-rw-r--r-- | code/entry.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/code/entry.rb b/code/entry.rb index 9f0cb7b9..af1faa83 100644 --- a/code/entry.rb +++ b/code/entry.rb @@ -70,6 +70,10 @@ class Directory::Entry alias movie? video? alias sound? audio? + def displayname() + @displayname ||= @basename.ascii_only_if(Option.ascii_only) + end + def handler() ## get_handler has to be defined in another file @handler ||= catch(:use) do |