lib/middleman-targets/extension.rb in middleman-targets-1.0.4 vs lib/middleman-targets/extension.rb in middleman-targets-1.0.5

- old
+ new

@@ -167,10 +167,11 @@ ############################################################ # Sitemap manipulators. # Add new methods to each resource. + # @visibility private ############################################################ def manipulate_resource_list(resources) resources.each do |resource| @@ -324,10 +325,11 @@ # `target`. # @option params [String, Symbol] :feature This image # tag will only be applied if the current target # enables the feature `feature`. # @return [Void] + # @group Extended Helpers #-------------------------------------------------------- def image_tag(path, params={}) params.symbolize_keys! # We won't return an image at all if a :target or :feature parameter @@ -353,16 +355,17 @@ alt_text.capitalize! params[:alt] ||= alt_text end super(path, params) - end + end # @endgroup end #helpers ############################################################ # Instance Methods + # @group Instance Methods ############################################################ ######################################################### # Returns a target-specific proposed file when given