Class: Clot::SelectDate

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

Instance Method Summary collapse

Methods inherited from MultiDateTag

#personal_attributes, #render, #render_units, #set_primary_attributes, #set_unit, #time_unit

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

#render_nested(context) ⇒ Object



310
311
312
313
# File 'lib/clot/date_tags.rb', line 310

def render_nested(context)
  order = @order || ['year', 'month', 'day']
  render_units(order, context, @date_separator)
end