scttnlsn/dandelion

View on GitHub
lib/dandelion/change.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Dandelion
  class Change
    attr_reader :path, :type
    
    def initialize(path, type, read = nil)
      @path = path
      @type = type
      @read = read
    end

    def data
      @read.() if @read
    end
  end
end