Module: Wifimap
- Defined in:
- lib/wifimap.rb,
lib/wifimap/mac.rb,
lib/wifimap/station.rb,
lib/wifimap/version.rb,
lib/wifimap/parsable.rb,
lib/wifimap/access_point.rb,
lib/wifimap/parser_factory.rb,
lib/wifimap/parser/airodump.rb,
lib/wifimap/parser/sniff_probes.rb
Defined Under Namespace
Modules: Parsable, Parser, ParserFactory Classes: AccessPoint, Error, Mac, Station
Constant Summary collapse
- VERSION =
'0.2.2'
Class Method Summary collapse
-
.parse(file_content) ⇒ Wifimap::Parser::*
Parse the content of a dump file and return a parser instance.
-
.parse_file(filename) ⇒ Wifimap::Parser::*
A wrapper on .parse to read directly from a file.
Class Method Details
.parse(file_content) ⇒ Wifimap::Parser::*
Parse the content of a dump file and return a parser instance.
20 21 22 |
# File 'lib/wifimap.rb', line 20 def self.parse(file_content) Wifimap::ParserFactory.create(file_content) end |
.parse_file(filename) ⇒ Wifimap::Parser::*
A wrapper on .parse to read directly from a file.
28 29 30 31 |
# File 'lib/wifimap.rb', line 28 def self.parse_file(filename) file_content = File.read(filename) parse(file_content) end |