Class: Workbook::Types::Date

Inherits:
Date
  • Object
show all
Includes:
Modules::Cell
Defined in:
lib/workbook/types/date.rb

Constant Summary

Constants included from Modules::Cell

Modules::Cell::CHARACTER_REPACEMENTS, Modules::Cell::CLASS_CELLTYPE_MAPPING

Instance Method Summary collapse

Methods included from Modules::Cell

#<=>, #==, #cell_type, #colspan, #colspan=, #compare_on_class, #format, #format=, #format?, #formula, #formula=, #importance_of_class, #index, #inspect, #key, #nil?, #nil_or_empty?, #row, #row=, #rowspan, #rowspan=, #table, #template, #to_s, #to_sym, #valid_value?, #value_to_s

Methods included from Modules::TypeParser

#clean!, #parse, #parse!, #string_american_date_converter, #string_boolean_converter, #string_cleaner, #string_integer_converter, #string_nil_converter, #string_non_american_date_converter, #string_optimistic_date_converter, #string_parsers, #string_parsers=, #string_parsers_as_procs, #strip_win_chars

Constructor Details

#initialize(*args) ⇒ Date

Returns a new instance of Date.



8
9
10
# File 'lib/workbook/types/date.rb', line 8

def initialize(*args)
  super(*args)
end

Instance Method Details

#valueObject



12
13
14
# File 'lib/workbook/types/date.rb', line 12

def value
  self
end

#value=(a) ⇒ Object



16
17
18
# File 'lib/workbook/types/date.rb', line 16

def value= a
  puts "#value= is deprecated"
end