Class: SimpleFormEpicEditor::Configuration
- Inherits:
-
Object
- Object
- SimpleFormEpicEditor::Configuration
- Defined in:
- lib/simple_form_epic_editor/configuration.rb
Instance Attribute Summary collapse
-
#commands ⇒ Object
Returns the value of attribute commands.
-
#theme ⇒ Object
Returns the value of attribute theme.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
TODO: Make everything customizable!.
Constructor Details
#initialize ⇒ Configuration
TODO: Make everything customizable!
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/simple_form_epic_editor/configuration.rb', line 8 def initialize @commands = { edit: 'Write', preview: 'Preview' } @theme = { base: '/simple_form_epic_editor/default_theme/base.css', preview: '/simple_form_epic_editor/default_theme/preview.css', editor: '/simple_form_epic_editor/default_theme/editor.css' } end |
Instance Attribute Details
#commands ⇒ Object
Returns the value of attribute commands.
4 5 6 |
# File 'lib/simple_form_epic_editor/configuration.rb', line 4 def commands @commands end |
#theme ⇒ Object
Returns the value of attribute theme.
4 5 6 |
# File 'lib/simple_form_epic_editor/configuration.rb', line 4 def theme @theme end |