Sha256: a5e9372422df4e073b094f4e9254d5d20645f3aa400723a44ecda246f5bb50cb

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

module M
  class Testable
    attr_accessor :file, :recursive, :passthrough_options
    attr_reader :lines

    def initialize(file = "", lines = [], recursive = false)
      @file = file
      @recursive = recursive
      @passthrough_options = []
      self.lines = lines
    end

    def lines=(lines)
      @lines = lines.map(&:to_i)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
m-1.6.1 lib/m/testable.rb
m-1.6.0 lib/m/testable.rb