Class: Effective::Snippets::CurrentDateTime

Inherits:
Snippet
  • Object
show all
Defined in:
app/models/effective/snippets/current_date_time.rb

Instance Method Summary collapse

Methods inherited from Snippet

all, #class_name, #data, definitions, #id, #initialize, #region, #snippet_description, #snippet_dialog_url, #snippet_editables, #snippet_inline, #snippet_label, #to_partial_path

Constructor Details

This class inherits a constructor from Effective::Snippets::Snippet

Instance Method Details

#snippet_attributesObject



5
6
7
# File 'app/models/effective/snippets/current_date_time.rb', line 5

def snippet_attributes
  super + [:format]
end

#snippet_tagObject



9
10
11
# File 'app/models/effective/snippets/current_date_time.rb', line 9

def snippet_tag
  :span
end