Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Tidy library interface via FFI
tree: db85ed8324

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
.rspec
CHANGELOG
Gemfile
LICENSE
Manifest
README.rdoc
Rakefile
tidy_ffi.gemspec

README.rdoc

Tidy FFI

What is it all about?

I wanna clean and simple tidy library. For example:

TidyFFI::Tidy.new('a string').clean

For now it can't do anything else than clean (and saves errors from it) :)

Options

You can use different ways to set up options. These examples are produces the same output:

TidyFFI::Tidy.default_options.show_body_only = true
TidyFFI::Tidy.new('test').clean

TidyFFI::Tidy.with_options(:show_body_only => true).new('test').clean

tidy = TidyFFI::Tidy.new('test')
tidy.options.show_body_only = true
tidy.clean

TidyFFI::Tidy.new('test', :show_body_only => true).clean

TidyFFI::Tidy.clean('test', :show_body_only => 1)

Links

Something went wrong with that request. Please try again.