class ID

Constants

DEFAULT_TYPE
TYPES

Public Instance Methods

to_s() click to toggle source
# File lib/trogdir/id.rb, line 23
def to_s
  identifier
end

Private Instance Methods

track_type() click to toggle source
# File lib/trogdir/id.rb, line 28
def track_type
  if changes.include? 'type'
    changes
  else
    changes.merge("type" => [type.to_s, type.to_s])
  end
end