Class: Clot::SelectSecond

Inherits:
NumberedTag show all
Defined in:
lib/clot/date_tags.rb

Constant Summary

Constants inherited from ClotTag

ClotTag::Syntax

Instance Method Summary collapse

Methods inherited from NumberedTag

#can_show, #default_end, #default_start, #get_options, #id_string, #name_string, #personal_attributes, #render_string, #set_primary_attributes, #value_string

Methods inherited from ClotTag

#initialize, #render

Methods included from TagHelper

#resolve_value, #split_params

Methods included from AttributeSetter

#personal_attributes, #set_attributes, #set_primary_attributes

Constructor Details

This class inherits a constructor from Clot::ClotTag

Instance Method Details

#default_field_nameObject



219
220
221
# File 'lib/clot/date_tags.rb', line 219

def default_field_name
  "second"
end

#time_methodObject



216
217
218
# File 'lib/clot/date_tags.rb', line 216

def time_method
  :sec
end