Chrononaut-treetop-dcf 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dcf.rb +3 -2
  2. metadata +1 -1
data/lib/dcf.rb CHANGED
@@ -1,9 +1,10 @@
1
1
  require "rubygems"
2
2
  require "treetop"
3
- require File.join(File.dirname(__FILE__), "dcf_grammar")
3
+ require "dcf_grammar"
4
4
 
5
5
  module Dcf
6
- # Returns an array of { attr => val } hashes
6
+ # @param [String] input
7
+ # @return [Array, nil] An array of { attr => val } hashes or nil if failure
7
8
  def self.parse(input)
8
9
  parse = DcfParser.new.parse(input)
9
10
  return if parse.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Chrononaut-treetop-dcf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bjorn Arild Maeland