Module: Enumerable

Defined in:
lib/simple-templater/core_exts.rb

Instance Method Summary collapse

Instance Method Details

#inject!(&block) ⇒ Object

similar to


17
18
19
# File 'lib/simple-templater/core_exts.rb', line 17

def inject!(&block)
  self.inject(self.class.new, &block)
end