Class: Clot::SelectDay

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, #get_options, #id_string, #name_string, #personal_attributes, #render_string, #set_primary_attributes, #time_method, #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_endObject



134
135
136
# File 'lib/clot/date_tags.rb', line 134

def default_end
  31
end

#default_field_nameObject



126
127
128
# File 'lib/clot/date_tags.rb', line 126

def default_field_name
  "day"
end

#default_startObject



130
131
132
# File 'lib/clot/date_tags.rb', line 130

def default_start
  1
end