Class: M::Testable
- Inherits:
-
Object
- Object
- M::Testable
- Defined in:
- lib/m/testable.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
Returns the value of attribute file.
-
#lines ⇒ Object
Returns the value of attribute lines.
-
#passthrough_options ⇒ Object
Returns the value of attribute passthrough_options.
-
#recursive ⇒ Object
Returns the value of attribute recursive.
Instance Method Summary collapse
-
#initialize(file = "", lines = [], recursive = false) ⇒ Testable
constructor
A new instance of Testable.
Constructor Details
#initialize(file = "", lines = [], recursive = false) ⇒ Testable
Returns a new instance of Testable.
6 7 8 9 10 11 |
# File 'lib/m/testable.rb', line 6 def initialize file = "", lines = [], recursive = false @file = file @recursive = recursive @passthrough_options = [] self.lines = lines end |
Instance Attribute Details
#file ⇒ Object
Returns the value of attribute file.
3 4 5 |
# File 'lib/m/testable.rb', line 3 def file @file end |
#lines ⇒ Object
Returns the value of attribute lines.
4 5 6 |
# File 'lib/m/testable.rb', line 4 def lines @lines end |
#passthrough_options ⇒ Object
Returns the value of attribute passthrough_options.
3 4 5 |
# File 'lib/m/testable.rb', line 3 def @passthrough_options end |
#recursive ⇒ Object
Returns the value of attribute recursive.
3 4 5 |
# File 'lib/m/testable.rb', line 3 def recursive @recursive end |