Class: AjaxDatatablesRails::Datatable::Column::DateFilter::DateRange
- Inherits:
-
Object
- Object
- AjaxDatatablesRails::Datatable::Column::DateFilter::DateRange
- Defined in:
- lib/ajax-datatables-rails/datatable/column/date_filter.rb
Instance Attribute Summary collapse
-
#begin ⇒ Object
readonly
Returns the value of attribute begin.
-
#end ⇒ Object
readonly
Returns the value of attribute end.
Instance Method Summary collapse
- #exclude_end? ⇒ Boolean
-
#initialize(date_start, date_end) ⇒ DateRange
constructor
A new instance of DateRange.
Constructor Details
#initialize(date_start, date_end) ⇒ DateRange
Returns a new instance of DateRange.
13 14 15 16 |
# File 'lib/ajax-datatables-rails/datatable/column/date_filter.rb', line 13 def initialize(date_start, date_end) @begin = date_start @end = date_end end |
Instance Attribute Details
#begin ⇒ Object (readonly)
Returns the value of attribute begin.
11 12 13 |
# File 'lib/ajax-datatables-rails/datatable/column/date_filter.rb', line 11 def begin @begin end |
#end ⇒ Object (readonly)
Returns the value of attribute end.
11 12 13 |
# File 'lib/ajax-datatables-rails/datatable/column/date_filter.rb', line 11 def end @end end |
Instance Method Details
#exclude_end? ⇒ Boolean
18 19 20 |
# File 'lib/ajax-datatables-rails/datatable/column/date_filter.rb', line 18 def exclude_end? false end |