Module: Lara::Memories::ExportFormat
- Defined in:
- lib/lara/memories.rb
Overview
Supported memory export formats
Constant Summary collapse
- TMX =
"tmx"- JTM =
"jtm"
Class Method Summary collapse
-
.all ⇒ Array<String>
All supported formats.
-
.valid?(format) ⇒ Boolean
True if the format is supported.
Class Method Details
.all ⇒ Array<String>
Returns All supported formats.
11 12 13 |
# File 'lib/lara/memories.rb', line 11 def self.all [TMX, JTM] end |
.valid?(format) ⇒ Boolean
Returns True if the format is supported.
17 18 19 |
# File 'lib/lara/memories.rb', line 17 def self.valid?(format) all.include?(format) end |