Class: Jcsv::RBParseXmlSchema

Inherits:
Filter
  • Object
show all
Defined in:
lib/date_filters.rb

Overview

Instance Attribute Summary

Attributes included from NextFilter

#last_filter, #next_filter

Instance Method Summary collapse

Methods included from NextFilter

#>>, #exec_next

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