Module: Stimulizer::ClassMethods

Defined in:
lib/stimulizer.rb

Constant Summary collapse

@@stimulizer_opts =
{output: :html_string}

Instance Method Summary collapse

Instance Method Details

#_stimulizer_optsObject



23
24
25
# File 'lib/stimulizer.rb', line 23

def _stimulizer_opts
  @@stimulizer_opts
end

#stimulize(hash) ⇒ Object



27
28
29
# File 'lib/stimulizer.rb', line 27

def stimulize(hash)
  @@stimulizer_opts.merge!(hash.deep_symbolize_keys)
end