class RoadForest::Augment::Augmentation
Public Class Methods
new(augmenter)
click to toggle source
# File lib/roadforest/augment/augmentation.rb, line 31 def initialize(augmenter) @augmenter = augmenter end
object_follows(other)
click to toggle source
# File lib/roadforest/augment/augmentation.rb, line 26 def object_follows(other) Augmenter.object_augmentations_registry.seq(other, self.name) end
object_precedes(other)
click to toggle source
# File lib/roadforest/augment/augmentation.rb, line 22 def object_precedes(other) Augmenter.object_augmentations_registry.seq(self.name, other) end
register_for_objects()
click to toggle source
# File lib/roadforest/augment/augmentation.rb, line 18 def register_for_objects Augmenter.object_augmentations_registry.add(self.name, self) end
register_for_subjects()
click to toggle source
# File lib/roadforest/augment/augmentation.rb, line 6 def register_for_subjects Augmenter.subject_augmentations_registry.add(self.name, self) end
subject_follows(other)
click to toggle source
# File lib/roadforest/augment/augmentation.rb, line 14 def subject_follows(other) Augmenter.subject_augmentations_registry.seq(other, self.name) end
subject_precedes(other)
click to toggle source
# File lib/roadforest/augment/augmentation.rb, line 10 def subject_precedes(other) Augmenter.subject_augmentations_registry.seq(self.name, other) end
Public Instance Methods
canonical_uri()
click to toggle source
# File lib/roadforest/augment/augmentation.rb, line 35 def canonical_uri @augmenter.canonical_uri end
router()
click to toggle source
# File lib/roadforest/augment/augmentation.rb, line 39 def router @augmenter.router end