Class: Class

Inherits:
Object show all
Defined in:
lib/ontomde-core/completion.rb

Instance Method Summary collapse

Instance Method Details

#getAddedMethods(base = nil) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/ontomde-core/completion.rb', line 3

def getAddedMethods(base=nil)
  begin
    b=''

    cmd="#{self.name}.new(::Crdf_Repository.new(),'abc')"
    c=eval cmd

    return  c.public_methods-b.public_methods
  rescue
    return []
  end

end