Class: OsCtl::Image::Test
- Inherits:
-
Object
- Object
- OsCtl::Image::Test
- Defined in:
- lib/osctl/image/test.rb
Instance Attribute Summary collapse
- #base_dir ⇒ String readonly
- #name ⇒ String readonly
Instance Method Summary collapse
-
#initialize(base_dir, name) ⇒ Test
constructor
A new instance of Test.
- #to_s ⇒ Object
Constructor Details
#initialize(base_dir, name) ⇒ Test
Returns a new instance of Test.
11 12 13 14 |
# File 'lib/osctl/image/test.rb', line 11 def initialize(base_dir, name) @base_dir = base_dir @name = name end |
Instance Attribute Details
#base_dir ⇒ String (readonly)
4 5 6 |
# File 'lib/osctl/image/test.rb', line 4 def base_dir @base_dir end |
#name ⇒ String (readonly)
7 8 9 |
# File 'lib/osctl/image/test.rb', line 7 def name @name end |
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'lib/osctl/image/test.rb', line 16 def to_s name end |