lib/crazy_harry/base.rb in crazy_harry-0.1.0 vs lib/crazy_harry/base.rb in crazy_harry-0.1.2
- old
+ new
@@ -2,9 +2,10 @@
class Base
include CrazyHarry::Default
include CrazyHarry::Change
include CrazyHarry::Redact
include CrazyHarry::Translate
+ include CrazyHarry::Foster
attr_accessor :fragment, :scope, :steps, :text
def initialize(opts = {})
self.fragment = Loofah.fragment(opts.delete(:fragment)) if opts.has_key?(:fragment)