Method: PostIt::Parser#parse
- Defined in:
- lib/postit/parser.rb
#parse ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/postit/parser.rb', line 12 def parse return unless lockfile = File.file?(@file) && File.read(@file) if lockfile =~ BUNDLED_WITH Regexp.last_match(1) else '< 1.10' end end |