dependency to methodphitamine removed.

This commit is contained in:
Denis Knauf 2011-11-30 13:52:19 +01:00
parent 2b3922e158
commit edcc68a4ed
3 changed files with 10 additions and 8 deletions

View file

@ -152,10 +152,10 @@ class SmqlToAR
@model = model
@last_model = nil
*@path, @col = *Array.wrap( col).
collect( &it.to_s.split( /[.\/]/)).
collect {|x| x.to_s.split /[.\/]/ }.
flatten.
collect( &Col.method( :new)).
reject( &it===:self)
reject {|x| x === :self }
end
def last_model