Sha256: f66b8b6702291b4b80bbd0a40e9c039ed9ff6d01502e1b356423891fdc5fdd7d

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
m-1.5.1 lib/m/testable.rb