Module: Wakari::Multilang

Defined in:
lib/wakari/multilang.rb

Instance Method Summary collapse

Instance Method Details

#multilang(*args) {|bundle| ... } ⇒ Object

Yields:

  • (bundle)


6
7
8
9
10
# File 'lib/wakari/multilang.rb', line 6

def multilang(*args, &block)
  bundle = Bundle.new(self, *args)
  bundle.prepare!
  yield bundle if block_given?
end