Module: Babushka::UriHelpers

Included in:
DepContext
Defined in:
lib/babushka/helpers/uri_helpers.rb

Instance Method Summary collapse

Instance Method Details

#handle_source(uri, &block) ⇒ Object



12
13
14
# File 'lib/babushka/helpers/uri_helpers.rb', line 12

def handle_source uri, &block
  removed! :instead => 'Resource.extract(uri) { ... }'
end

#process_sources(&block) ⇒ Object



8
9
10
# File 'lib/babushka/helpers/uri_helpers.rb', line 8

def process_sources &block
  removed! :instead => 'sources.each {|uri| Resource.extract(uri) { ... } }'
end

#setup_source_urisObject



4
5
6
# File 'lib/babushka/helpers/uri_helpers.rb', line 4

def setup_source_uris
  removed! :method_name => "#setup_source_uris isn't required anymore and now has no effect, and so"
end