class RubyDiff::Diff

Attributes

details[R]
type[R]

Public Class Methods

new(type,details) click to toggle source
# File lib/rubydiff/kernel.rb, line 6
def initialize(type,details)
        @type = type
        @details = details
end

Public Instance Methods

inspect() click to toggle source
# File lib/rubydiff/kernel.rb, line 15
def inspect
        to_s
end
to_s() click to toggle source
# File lib/rubydiff/kernel.rb, line 11
def to_s
        "[#{type}] #{details}"
end