Class: Calypso::IParser
- Inherits:
-
Object
- Object
- Calypso::IParser
- Defined in:
- lib/calypso/iparser.rb
Overview
Parser interface.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#hardware ⇒ Hash
readonly
Hash of available hardware.
-
#tests ⇒ Hash
readonly
Hash of unit tests.
Instance Method Summary collapse
-
#initialize(file) ⇒ IParser
constructor
Create a new Parser.
-
#parse ⇒ nil
Cruch data.
Constructor Details
#initialize(file) ⇒ IParser
Create a new Parser.
31 32 33 34 35 |
# File 'lib/calypso/iparser.rb', line 31 def initialize(file) @tests = {} @hardware = {} @file = file end |
Instance Attribute Details
#hardware ⇒ Hash (readonly)
Returns Hash of available hardware.
26 27 28 |
# File 'lib/calypso/iparser.rb', line 26 def hardware @hardware end |
#tests ⇒ Hash (readonly)
Returns Hash of unit tests.
24 25 26 |
# File 'lib/calypso/iparser.rb', line 24 def tests @tests end |
Instance Method Details
#parse ⇒ nil
Cruch data.
40 41 |
# File 'lib/calypso/iparser.rb', line 40 def parse end |