Class: Trek::ContentEditor::Prompt
- Inherits:
-
Object
- Object
- Trek::ContentEditor::Prompt
- Extended by:
- ActiveModel::Translation
- Includes:
- ActiveModel::Model, ActiveModel::Validations, ActiveModel::Validations::Callbacks
- Defined in:
- app/models/trek/content_editor/prompt.rb
Constant Summary collapse
- TARGETS =
{ "" => I18n.t("admin.content_editor.prompt.targets.self"), "_blank" => I18n.t("admin.content_editor.prompt.targets.blank") }.invert.freeze
Instance Attribute Summary collapse
-
#href ⇒ Object
Returns the value of attribute href.
-
#target ⇒ Object
Returns the value of attribute target.
-
#text ⇒ Object
Returns the value of attribute text.
-
#title ⇒ Object
Returns the value of attribute title.
-
#turbo_frame_id ⇒ Object
Returns the value of attribute turbo_frame_id.
Instance Attribute Details
#href ⇒ Object
Returns the value of attribute href.
14 15 16 |
# File 'app/models/trek/content_editor/prompt.rb', line 14 def href @href end |
#target ⇒ Object
Returns the value of attribute target.
14 15 16 |
# File 'app/models/trek/content_editor/prompt.rb', line 14 def target @target end |
#text ⇒ Object
Returns the value of attribute text.
14 15 16 |
# File 'app/models/trek/content_editor/prompt.rb', line 14 def text @text end |
#title ⇒ Object
Returns the value of attribute title.
14 15 16 |
# File 'app/models/trek/content_editor/prompt.rb', line 14 def title @title end |
#turbo_frame_id ⇒ Object
Returns the value of attribute turbo_frame_id.
14 15 16 |
# File 'app/models/trek/content_editor/prompt.rb', line 14 def turbo_frame_id @turbo_frame_id end |