Skip to content

Commit

Permalink
Merge remote branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Jun 15, 2010
2 parents c22d7c4 + 804e207 commit a36bb4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tilt.rb
Expand Up @@ -59,7 +59,7 @@ def __tilt__
end

# Base class for template implementations. Subclasses must implement
# the #prepare method and one of the #evaluate or #template_source
# the #prepare method and one of the #evaluate or #evaluate_source
# methods.
class Template
# Template source; loaded from a file or given directly.
Expand Down Expand Up @@ -719,7 +719,7 @@ def evaluate(scope, locals, &block)
end
end
(class << context; self; end).class_eval do
define_method :tag_missing do |tag, attr, &block|
define_method :tag_missing do |tag, attr|
scope.__send__(tag) # any way to support attr as args?
end
end
Expand Down

0 comments on commit a36bb4d

Please sign in to comment.