robotmay / blm

A parser for Rightmove's pointless .blm text format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BLM

A simple parser for the utterly pointless Rightmove .blm file format.

Usage

Using the gem is very simple; just pass it a string of data:

@blm = BLM.new( File.open("example_data.blm", "r").read )

You will then have access to @blm.header, @blm.definition, and @blm.data:

@blm.data.each do |row|
	puts row.address_1
end

About

A parser for Rightmove's pointless .blm text format

License:MIT License


Languages

Language:Ruby 100.0%