Class: ArelConverter::Translator::Scope
- Defined in:
- lib/arel_converter/translators/scope.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#format_for_hash, #logger, parse, translate
Instance Method Details
#post_processing(new_scope) ⇒ Object
10 11 12 13 |
# File 'lib/arel_converter/translators/scope.rb', line 10 def post_processing(new_scope) new_scope.gsub!(/scope\((.*)\)$/, 'scope \1') new_scope += (@options) end |