Displaying 1 result from an estimated 1 matches for "html_slicer".
2012 Feb 17
0
HtmlSlicer 0.0.1
...just independent strings or any other Ruby classes. Or course it can split HTML content. More over, it can ‘resize’ HTML tags having width= attribute*.
* Imagine you want to resize <iframe> embeddings from YouTube saved in static content.
Install
Put this line in your Gemfile:
gem ''html_slicer''
Then bundle:
% bundle
Implementation
Basic appoach
slice <method_name>, <configuration>, [:config => <:style>]*
where:
<method_name> - any method or local variable which returns source String (can be called with .send()).
<configuration> - Hash of confi...