lib/bmg/operator/autowrap.rb in bmg-0.18.12 vs lib/bmg/operator/autowrap.rb in bmg-0.18.13
- old
+ new
@@ -24,9 +24,15 @@
:postprocessor => :none,
:postprocessor_condition => :all,
:split => "_"
}
+ class << self
+ def separator(options)
+ options[:split] || DEFAULT_OPTIONS[:split]
+ end
+ end
+
def initialize(type, operand, options = {})
@type = type
@operand = operand
@original_options = options
@options = normalize_options(options)