compass/src/test/testData/gems/compass-0.13.alpha.2/lib/compass/configuration/data.rb
def asset_host(&block)
        @set_attributes ||= {}
        if block_given?
          @set_attributes[:asset_host] = true
          @asset_host = block
        else
          if @asset_host
            @asset_host
          elsif inherited_data.respond_to?(:asset_host)
            inherited_data.asset_host
          end
        end
      end
# When called with a block, defines the asset host url to be used.
# The block must return a string that starts with a protocol (E.g. http).
# The block will be passed the root-relative url of the asset.
# When called without a block, returns the block that was previously set.
When called with a block, defines the asset host url to be used.
The block must return a string that starts with a protocol .
The block will be passed the root-relative url of the asset.
When called without a block, returns the block that was previously set.
When called with a block defines the asset host url to be used . The block must return a string that starts with a protocol . The block will be passed the root - relative url of the asset . When called without a block returns the block that was previously set .
def asset_host(&block)
        @set_attributes ||= {}
        if block_given?
          @set_attributes[:asset_host] = true
          @asset_host = block
        else
          if @asset_host
            @asset_host
          elsif inherited_data.respond_to?(:asset_host)
            inherited_data.asset_host
          end
        end
      end
def asset_host ( & block ) @set_attributes ||= { } if block_given? @set_attributes [ :asset_host ] = true @asset_host = block else if @asset_host @asset_host elsif inherited_data . respond_to? ( :asset_host ) inherited_data . asset_host end end end
When called with a block, defines the asset host url to be used.
When called with a block defines the asset host url to be used .
block