Module: Apfel
- Defined in:
- lib/apfel.rb,
lib/apfel/line.rb,
lib/apfel/reader.rb,
lib/apfel/kv_pair.rb,
lib/apfel/version.rb,
lib/apfel/dot_strings_parser.rb,
lib/apfel/parsed_dot_strings.rb
Defined Under Namespace
Classes: DotStringsParser, KVPair, Line, ParsedDotStrings, Reader
Constant Summary collapse
- VERSION =
"0.0.5"
Class Method Summary collapse
-
.parse(file) ⇒ Object
Public module for parsing DotStrings files and returning a parsed dot strings object.
- .read(file) ⇒ Object
Class Method Details
.parse(file) ⇒ Object
Public module for parsing DotStrings files and returning a parsed dot strings object
8 9 10 11 |
# File 'lib/apfel.rb', line 8 def self.parse(file) file = read(file) DotStringsParser.new(file).parse_file end |