Module: IMW::Formats
- Defined in:
- lib/imw/formats.rb,
lib/imw/formats/json.rb,
lib/imw/formats/sgml.rb,
lib/imw/formats/yaml.rb,
lib/imw/formats/excel.rb,
lib/imw/formats/delimited.rb
Defined Under Namespace
Modules: Csv, Delimited, Excel, Html, Json, Rdf, Sgml, Tsv, Xhtml, Xml, Xsl, Yaml
Constant Summary collapse
- HANDLERS =
Handlers which augment a resource with data format specific methods.
[ [ "Formats::Csv", /\.csv$/ ], [ "Formats::Tsv", /\.tsv$/ ], [ "Formats::Excel", /\.xslx?$/ ], [ "Formats::Json", /\.json$/ ], [ "Formats::Xml", /\.xml$/ ], [ "Formats::Xsl", /\.xsl$/ ], [ "Formats::Html", /\.html?$/ ], [ "Formats::Xhtml", /\.xhtml?$/ ], [ "Formats::Rdf", /\.rdf?$/ ], [ "Formats::Yaml", /\.ya?ml$/ ] ]