Method: Clot::SelectTime#render_nested

Defined in:
lib/clot/date_tags.rb

#render_nested(context) ⇒ Object



317
318
319
320
321
322
323
# File 'lib/clot/date_tags.rb', line 317

def render_nested(context)
  units = ["hour", "minute"]
  if @include_seconds
    units << "second"
  end
  render_units(units, context, @time_separator)
end