Class: M::Testable

Inherits:
Object
  • Object
show all
Defined in:
lib/m/testable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fileObject

Returns the value of attribute file.



3
4
5
# File 'lib/m/testable.rb', line 3

def file
  @file
end

#linesObject

Returns the value of attribute lines.



4
5
6
# File 'lib/m/testable.rb', line 4

def lines
  @lines
end

#passthrough_optionsObject

Returns the value of attribute passthrough_options.



3
4
5
# File 'lib/m/testable.rb', line 3

def passthrough_options
  @passthrough_options
end

#recursiveObject

Returns the value of attribute recursive.



3
4
5
# File 'lib/m/testable.rb', line 3

def recursive
  @recursive
end