Module: Wayfarer::Frontiers::NormalizeURIs Private

Defined in:
lib/wayfarer/frontiers/normalize_uris.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*argv, &proc) ⇒ Object (private)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



39
40
41
# File 'lib/wayfarer/frontiers/normalize_uris.rb', line 39

def method_missing(*argv, &proc)
  super(*argv, &proc)
end

Instance Method Details

#cache(*uris) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



20
21
22
# File 'lib/wayfarer/frontiers/normalize_uris.rb', line 20

def cache(*uris)
  super(*uris.map { |uri| normalize(uri) })
end

#cached?(uri) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


25
26
27
# File 'lib/wayfarer/frontiers/normalize_uris.rb', line 25

def cached?(uri)
  super(normalize(uri))
end

#stage(*uris) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



10
11
12
# File 'lib/wayfarer/frontiers/normalize_uris.rb', line 10

def stage(*uris)
  super(*uris.map { |uri| normalize(uri) })
end

#staged?(uri) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


15
16
17
# File 'lib/wayfarer/frontiers/normalize_uris.rb', line 15

def staged?(uri)
  super(normalize(uri))
end