Class: Rpictogrify::Configuration
- Inherits:
-
Object
- Object
- Rpictogrify::Configuration
- Defined in:
- lib/rpictogrify/configuration.rb
Instance Attribute Summary collapse
-
#base_path ⇒ Object
pictogram directory.
-
#theme ⇒ Object
default theme, one of these themes: avataars_female, avataars_male, male_flat, monsters.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
11 12 13 14 15 |
# File 'lib/rpictogrify/configuration.rb', line 11 def initialize @theme = :monsters @base_path = 'public/system' end |
Instance Attribute Details
#base_path ⇒ Object
pictogram directory. default is ‘public/system’
9 10 11 |
# File 'lib/rpictogrify/configuration.rb', line 9 def base_path @base_path end |
#theme ⇒ Object
default theme, one of these themes: avataars_female, avataars_male, male_flat, monsters. default is :monsters
6 7 8 |
# File 'lib/rpictogrify/configuration.rb', line 6 def theme @theme end |