Skip to content

v0.10.0

Compare
Choose a tag to compare
@stephannv stephannv released this 11 Oct 14:25
· 18 commits to main since this release
ba01afa

What's Changed

  • feat: Loose #plain/#comment argument type by @stephannv in #78
    Now you can pass any object that responds to_s to #plain/#comment methods.
class ExamplePage
  include Blueprint::HTML

  def blueprint
    # before:
    plain custom_object.to_s
    comment other_object.to_s

    # after:
    plain custom_object
    comment other_object
  end
end

Full Changelog: v0.9.0...v0.10.0