class Dandelion::Change

Attributes

path[R]
type[R]

Public Class Methods

new(path, type, read = nil) click to toggle source
# File lib/dandelion/change.rb, line 5
def initialize(path, type, read = nil)
  @path = path
  @type = type
  @read = read
end

Public Instance Methods

data() click to toggle source
# File lib/dandelion/change.rb, line 11
def data
  @read.() if @read
end