Sha256: a22fbcfe542a868a75612907a70cbb7a7538d5e1f73823156fcfe5d44c67fa85

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

module Matest
  def self.configure(&block)
    block.call(Configure) if block_given?
  end
  
  
  module Configure
    module_function

    def use_color?
      @use_color ||= false
    end

    def use_color=(use_color)
      @use_color = use_color
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
matest-1.3.1 lib/matest/configure.rb