lib/mmmm/helper.rb in mmmm-0.1.3 vs lib/mmmm/helper.rb in mmmm-0.1.4

- old
+ new

@@ -9,11 +9,10 @@ class << self def helper name if Mmmm::Top.respond_to? name or Mmmm::Top.private_methods.include? name - raise NameError,"#{name} is already defined. Please use Mmmm.helper(:another_name)" - return + raise NameError, "#{name} is already defined. Please use Mmmm.helper(:another_name)" end define_helper_method name end private