Class: TestParser::TestInformation
- Inherits:
-
Object
- Object
- TestParser::TestInformation
- Defined in:
- lib/test_parser/test_information.rb
Instance Attribute Summary collapse
-
#identification ⇒ Object
readonly
Returns the value of attribute identification.
-
#snippet_source ⇒ Object
readonly
Returns the value of attribute snippet_source.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #file ⇒ Object
-
#initialize(type, identification, snippet_source) ⇒ TestInformation
constructor
A new instance of TestInformation.
- #snippet ⇒ Object
Constructor Details
#initialize(type, identification, snippet_source) ⇒ TestInformation
Returns a new instance of TestInformation.
6 7 8 9 10 |
# File 'lib/test_parser/test_information.rb', line 6 def initialize(type, identification, snippet_source) @type = type @identification = identification @snippet_source = snippet_source end |
Instance Attribute Details
#identification ⇒ Object (readonly)
Returns the value of attribute identification.
4 5 6 |
# File 'lib/test_parser/test_information.rb', line 4 def identification @identification end |
#snippet_source ⇒ Object (readonly)
Returns the value of attribute snippet_source.
4 5 6 |
# File 'lib/test_parser/test_information.rb', line 4 def snippet_source @snippet_source end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
4 5 6 |
# File 'lib/test_parser/test_information.rb', line 4 def type @type end |
Instance Method Details
#file ⇒ Object
16 17 18 |
# File 'lib/test_parser/test_information.rb', line 16 def file snippet_source.file end |
#snippet ⇒ Object
12 13 14 |
# File 'lib/test_parser/test_information.rb', line 12 def snippet snippet_source.snippet end |