Sha256: c99a8cb1def16aabd9e1be0f142238592a8525dae62b8abe8ed0b502aa1137a2
Contents?: true
Size: 473 Bytes
Versions: 63
Compression:
Stored size: 473 Bytes
Contents
class DateSelectorComponent < ViewComponent::Base def initialize(field_id) @field_id = field_id @types = [ ['Días hábiles no feriados', 'business_days_excluding_holidays'], ['Días hábiles (L a V)', 'business_days'], ['Días corridos (L a D)', 'calendar_days'], ['Semanas', 'weeks'], ['Meses', 'months'] ] @directions = [ ['Hacia adelante', 'forward'], ['Hacia atrás', 'backward'] ] super end end
Version data entries
63 entries across 63 versions & 1 rubygems