Module: IMW::Formats
- Defined in:
- lib/imw/formats.rb,
lib/imw/formats/pdf.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, Pdf, Rdf, Sgml, Tsv, Xhtml, Xml, Xsl, Yaml
Constant Summary collapse
- HANDLERS =
Handlers which augment a resource with data format specific methods.
[ [ "Formats::Csv", /\.csv$/i ], [ "Formats::Tsv", /\.tsv$/i ], [ "Formats::Excel", /\.xlsx?$/i ], [ "Formats::Json", /\.json$/i ], [ "Formats::Xml", /\.xml$/i ], [ "Formats::Xsl", /\.xsl$/i ], [ "Formats::Html", /\.html?$/i ], [ "Formats::Xhtml", /\.xhtml?$/i ], [ "Formats::Rdf", /\.rdf?$/i ], [ "Formats::Yaml", /\.ya?ml$/i ], [ "Formats::Pdf", /\.pdf$/i ] ]