lib/crazy_harry/base.rb in crazy_harry-0.1.2 vs lib/crazy_harry/base.rb in crazy_harry-0.2.0

- old
+ new

@@ -3,9 +3,10 @@ include CrazyHarry::Default include CrazyHarry::Change include CrazyHarry::Redact include CrazyHarry::Translate include CrazyHarry::Foster + include CrazyHarry::Truncate attr_accessor :fragment, :scope, :steps, :text def initialize(opts = {}) self.fragment = Loofah.fragment(opts.delete(:fragment)) if opts.has_key?(:fragment)