Class: Rabbit::Theme::DirectoryEntry
- Defined in:
- lib/rabbit/theme/entry.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Entry
Constants included from GetText
Instance Attribute Summary
Attributes inherited from Entry
#abstract, #dependencies, #description, #logger, #name, #parameters, #title
Instance Method Summary collapse
-
#initialize(theme_dir) ⇒ DirectoryEntry
constructor
A new instance of DirectoryEntry.
Methods inherited from Entry
#<=>, #available?, #category, #files, #full_path, #have_file?, #image_theme?, load_template, #property_editable?, reload_template, template_path, #theme_file
Methods included from GetText
N_, _, bindtextdomain, locale=
Constructor Details
#initialize(theme_dir) ⇒ DirectoryEntry
Returns a new instance of DirectoryEntry.
121 122 123 |
# File 'lib/rabbit/theme/entry.rb', line 121 def initialize(theme_dir) super(theme_dir, File.basename(theme_dir)) end |