v0.10.0
What's Changed
- feat: Loose #plain/#comment argument type by @stephannv in #78
Now you can pass any object that respondsto_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