Class: Crystalball::ExampleGroupMap
- Inherits:
-
Object
- Object
- Crystalball::ExampleGroupMap
- Extended by:
- Forwardable
- Defined in:
- lib/crystalball/example_group_map.rb
Overview
Data object to store execution map for specific example
Instance Attribute Summary collapse
-
#file_path ⇒ Object
readonly
Returns the value of attribute file_path.
-
#uid ⇒ Object
readonly
Returns the value of attribute uid.
-
#used_files ⇒ Object
readonly
Returns the value of attribute used_files.
Instance Method Summary collapse
-
#initialize(example, used_files = []) ⇒ ExampleGroupMap
constructor
A new instance of ExampleGroupMap.
Constructor Details
#initialize(example, used_files = []) ⇒ ExampleGroupMap
Returns a new instance of ExampleGroupMap.
13 14 15 16 17 |
# File 'lib/crystalball/example_group_map.rb', line 13 def initialize(example, used_files = []) @uid = example.id @file_path = example.file_path @used_files = used_files end |
Instance Attribute Details
#file_path ⇒ Object (readonly)
Returns the value of attribute file_path.
6 7 8 |
# File 'lib/crystalball/example_group_map.rb', line 6 def file_path @file_path end |
#uid ⇒ Object (readonly)
Returns the value of attribute uid.
6 7 8 |
# File 'lib/crystalball/example_group_map.rb', line 6 def uid @uid end |
#used_files ⇒ Object (readonly)
Returns the value of attribute used_files.
6 7 8 |
# File 'lib/crystalball/example_group_map.rb', line 6 def used_files @used_files end |