Class: Chronic::NarrowDefinitions

Inherits:
SpanDefinitions show all
Defined in:
lib/chronic/definition.rb

Instance Attribute Summary

Attributes inherited from Definitions

#options

Instance Method Summary collapse

Methods included from Handlers

day_or_time, dealias_and_disambiguate_times, find_within, get_anchor, get_repeaters, handle_generic, handle_m_d, handle_o_r_g_r, handle_o_r_s_r, handle_od_rm, handle_od_rmn, handle_od_rmn_sy, handle_orr, handle_p_s_r, handle_r, handle_r_g_r, handle_rdn_od, handle_rdn_rmn_od, handle_rdn_rmn_od_sy, handle_rdn_rmn_sd, handle_rdn_rmn_sd_sy, handle_rmn_od, handle_rmn_od_on, handle_rmn_od_sy, handle_rmn_sd, handle_rmn_sd_on, handle_rmn_sd_sy, handle_rmn_sy, handle_s_r_a_s_r_p_a, handle_s_r_p, handle_s_r_p_a, handle_sd_rmn, handle_sd_rmn_sy, handle_sd_sm, handle_sd_sm_sy, handle_sm_rmn_sy, handle_sm_sd, handle_sm_sd_sy, handle_sm_sy, handle_srp, handle_sy_rmn_od, handle_sy_sm, handle_sy_sm_sd, handle_year_and_month, month_overflow?, time_with_rollover

Methods inherited from Definitions

#initialize

Constructor Details

This class inherits a constructor from Chronic::Definitions

Instance Method Details

#definitionsObject


90
91
92
93
94
95
# File 'lib/chronic/definition.rb', line 90

def definitions
  [
    Handler.new([:ordinal, :repeater, :separator_in, :repeater], :handle_o_r_s_r),
    Handler.new([:ordinal, :repeater, :grabber, :repeater], :handle_o_r_g_r)
  ]
end