Class: Rabbit::Theme::ImageGemEntry

Inherits:
GemEntry show all
Defined in:
lib/rabbit/theme/entry.rb

Constant Summary

Constants inherited from Entry

Entry::PROPERTY_BASE_NAME, Entry::THEME_BASE_NAME

Constants included from GetText

GetText::DOMAIN

Instance Attribute Summary

Attributes inherited from Entry

#abstract, #dependencies, #description, #logger, #name, #parameters, #title

Instance Method Summary collapse

Methods inherited from GemEntry

#files, #full_path, #initialize, #theme_file

Methods inherited from Entry

#<=>, #category, #data_dir, #files, #full_path, #have_file?, #initialize, #property_editable?

Methods included from GetText

included

Constructor Details

This class inherits a constructor from Rabbit::Theme::GemEntry

Instance Method Details

#available?Boolean

Returns:

  • (Boolean)


195
196
197
# File 'lib/rabbit/theme/entry.rb', line 195

def available?
  @theme_dir and File.directory?(data_dir)
end

#image_theme?Boolean

Returns:

  • (Boolean)


199
200
201
# File 'lib/rabbit/theme/entry.rb', line 199

def image_theme?
  true
end