Class: Athena::Formats::XML::BaseSpec

Inherits:
XMLStreamin::XMLSpec
  • Object
show all
Defined in:
lib/athena/formats/xml.rb

Direct Known Subclasses

ElementSpec, RecordSpec, SubElementSpec

Instance Method Summary collapse

Instance Method Details

#done(context, name) ⇒ Object



195
196
197
# File 'lib/athena/formats/xml.rb', line 195

def done(context, name)
  context
end

#empty(context) ⇒ Object



199
200
201
# File 'lib/athena/formats/xml.rb', line 199

def empty(context)
  context
end

#start(context, name, attrs) ⇒ Object



187
188
189
# File 'lib/athena/formats/xml.rb', line 187

def start(context, name, attrs)
  context
end

#text(context, data) ⇒ Object



191
192
193
# File 'lib/athena/formats/xml.rb', line 191

def text(context, data)
  context
end