Sha256: e25fda146065c47b37f3296cdaac800d2cab299a2436518df53becafd9329286

Contents?: true

Size: 349 Bytes

Versions: 8

Compression:

Stored size: 349 Bytes

Contents

class ChangeTracker < Version

  attr_reader :version
  def initialize(version)
    @version = version
  end

  def all
    attributes + children
  end

  def attributes
    version_attributes.collect{ |attr| ChangeTracker::Attribute.new(attr) }
  end

  def children
    version_children.collect{ |child| ChangeTracker::Child.new(child) }
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
rubber_stamp-0.15.1 lib/rubber_stamp/change_tracker.rb
rubber_stamp-0.13.0 lib/rubber_stamp/change_tracker.rb
controlled_versioning-0.12.0 lib/controlled_versioning/change_tracker.rb
controlled_versioning-0.11.0 lib/controlled_versioning/change_tracker.rb
controlled_versioning-0.10.0 lib/controlled_versioning/change_tracker.rb
controlled_versioning-0.9.2 lib/controlled_versioning/change_tracker.rb
controlled_versioning-0.9.1 lib/controlled_versioning/change_tracker.rb
controlled_versioning-0.9.0 lib/controlled_versioning/change_tracker.rb