Minor changes for consistency

This commit is contained in:
Andrew Haines 2012-10-31 23:19:50 +00:00
parent 08d1f8533f
commit 785ed94a89
1 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ module Draper
end
end
def method_missing (method, *args, &block)
def method_missing(method, *args, &block)
source.send(method, *args, &block)
end
@ -57,7 +57,7 @@ module Draper
end
def kind_of?(klass)
source.kind_of?(klass) || super
super || source.kind_of?(klass)
end
alias_method :is_a?, :kind_of?
@ -70,7 +70,7 @@ module Draper
end
def context=(input)
self.map { |member| member.context = input }
map {|item| item.context = input }
end
protected