lib/roadie/stylesheet.rb in roadie-3.0.5 vs lib/roadie/stylesheet.rb in roadie-3.1.0.rc1
- old
+ new
@@ -18,9 +18,10 @@
end
# @yield [selector, properties]
# @yieldparam [Selector] selector
# @yieldparam [Array<StyleProperty>] properties
+ # @deprecated Iterate over the #{blocks} instead. Will be removed on version 4.0.
def each_inlinable_block(&block)
# #map and then #each in order to support chained enumerations, etc. if
# no block is provided
inlinable_blocks.map { |style_block|
[style_block.selector, style_block.properties]