Class: Jcsv::RBParseXmlSchema
Overview
Instance Attribute Summary
Attributes included from NextFilter
Instance Method Summary collapse
- #execute(value, context) ⇒ Object
-
#initialize(start) ⇒ RBParseXmlSchema
constructor
A new instance of RBParseXmlSchema.
Methods included from NextFilter
Constructor Details
#initialize(start) ⇒ RBParseXmlSchema
Returns a new instance of RBParseXmlSchema.
196 197 198 199 |
# File 'lib/date_filters.rb', line 196 def initialize(start) @start = start super() end |
Instance Method Details
#execute(value, context) ⇒ Object
201 202 203 204 |
# File 'lib/date_filters.rb', line 201 def execute(value, context) validateInputNotNull(value, context) exec_next(DateTime.xmlschema(value, @start), context) end |