dependency to methodphitamine removed.
This commit is contained in:
parent
2b3922e158
commit
edcc68a4ed
3 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue